summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/impl-wf-cycle-2.rs
blob: f2f3072e344c2c007b5b14b6b2dad3e3a9dcc9cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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() {}