An associated type binding was done outside of the type parameter declaration and `where` clause. Erroneous code example: ```compile_fail,E0229 pub trait Foo { type A; fn boo(&self) -> ::A; } struct Bar; impl Foo for isize { type A = usize; fn boo(&self) -> usize { 42 } } fn baz(x: &>::A) {} // error: associated type bindings are not allowed here ``` To solve this error, please move the type bindings in the type parameter declaration: ``` # struct Bar; # trait Foo { type A; } fn baz>(x: &::A) {} // ok! ``` Or in the `where` clause: ``` # struct Bar; # trait Foo { type A; } fn baz(x: &::A) where I: Foo {} ```