2 const ASSOC: bool = true;
4 impl<T> Foo for fn(T) {}
8 fn impls_foo<T: Foo>(_x: T) {}
11 impls_foo(foo as fn(i32));
13 <fn(&u8) as Foo>::ASSOC;
14 //~^ ERROR implementation of `Foo` is not general enough
15 //~| ERROR implementation of `Foo` is not general enough