pub trait A: Copy {} struct Foo; pub trait D { fn f(self) where T: A; //~^ ERROR associated type bindings are not allowed here [E0229] } fn main() {}