1 // Test equality constraints on associated types. Check we get an error when an
2 // equality constraint is used in a qualified path.
6 fn boo(&self) -> <Self as Foo>::A;
13 fn boo(&self) -> usize { 42 }
16 fn baz<I: Foo>(x: &<I as Foo<A=Bar>>::A) {}
17 //~^ ERROR associated type bindings are not allowed here