1 // Test that we report an error if the trait ref in a qualified type
2 // uses invalid type arguments.
6 fn get_bar(&self) -> Self::Bar;
9 fn f<T:Foo<isize>>(t: &T) {
10 let u: <T as Foo<usize>>::Bar = t.get_bar();
11 //~^ ERROR the trait bound `T: Foo<usize>` is not satisfied