1 // Test that correct syntax is used in suggestion to constrain associated type
7 fn f<T: X>(a: T::Y<i32>) {
8 //~^ HELP consider constraining the associated type `<T as X>::Y<i32>` to `Vec<i32>`
9 //~| SUGGESTION Y<i32> = Vec<i32>>
11 //~^ ERROR mismatched types