2 struct Error(ErrorKind);
3 impl Fn(&isize) for Error {
4 //~^ ERROR manual implementations of `Fn` are experimental [E0183]
5 //~^^ ERROR associated type bindings are not allowed here [E0229]
6 fn foo<const N: usize>(&self) -> Self::B<{N}>;
7 //~^ ERROR associated function in `impl` without body
8 //~^^ ERROR method `foo` is not a member of trait `Fn` [E0407]
9 //~^^^ ERROR associated type `B` not found for `Self` [E0220]