1 // Test that the predicate printed in an unresolved method error prints the
2 // generics for a generic associated type.
12 impl<T: X<Y<i32> = i32>> M for T {}
13 //~^ NOTE trait bound `<S as X>::Y<i32> = i32` was not satisfied
19 //~^ NOTE method `f` not found for this
20 //~| NOTE doesn't satisfy `<S as X>::Y<i32> = i32`
21 //~| NOTE doesn't satisfy `S: M`
29 //~^ ERROR the method `f` exists for struct `S`, but its trait bounds were not satisfied
30 //~| NOTE method cannot be called on `S` due to unsatisfied trait bounds