2 // Test that we are able to successfully compile a setup where a trait
3 // (`Trait1`) references a struct (`SomeType<u32>`) which in turn
4 // carries a predicate that references the trait (`u32 : Trait1`,
7 // pretty-expanded FIXME #23616
11 trait Trait1 : Trait2<SomeType<u32>> {
16 fn dumber(&self, _: A) { }
25 impl Trait1 for u32 { }
27 impl Trait2<SomeType<u32>> for u32 { }