1 // Check that the user gets an error if they omit a binding from an
7 fn boo(&self) -> <Self as Foo>::A;
15 fn boo(&self) -> usize {
21 let a = &42isize as &dyn Foo<A=usize, B=char>;
23 let b = &42isize as &dyn Foo<A=usize>;
24 //~^ ERROR the value of the associated type `B` (from trait `Foo`) must be specified
26 let c = &42isize as &dyn Foo<B=char>;
27 //~^ ERROR the value of the associated type `A` (from trait `Foo`) must be specified
29 let d = &42isize as &dyn Foo;
30 //~^ ERROR the value of the associated types `A` (from trait `Foo`), `B` (from trait