Sign in
rust
/
rust
/
1ce9c977ffcff7c3b12bfe5629a682da0e74a7a1
/
.
/
tests
/
ui
/
associated-types
/
impl-wf-cycle-2.rs
blob: f2f3072e344c2c007b5b14b6b2dad3e3a9dcc9cf [
file
] [
log
] [
blame
]
// Regression test for #79714
trait
Grault
{
type
A
;
}
impl
<
T
:
Grault
>
Grault
for
(
T
,)
//~^ ERROR overflow evaluating the requirement `<(T,) as Grault>::A == _`
where
Self
::
A
:
Copy
,
{
type
A
=
();
}
fn
main
()
{}