blob: c5d86bd637b2b8e1dd7c37ff2a7adb2b0b0543b1 (
plain)
1
2
3
4
5
6
7
8
9
|
struct ErrorKind;
struct Error(ErrorKind);
impl Fn(&isize) for Error {
//~^ ERROR manual implementations of `Fn` are experimental
//~| ERROR associated type bindings are not allowed here
fn from() {} //~ ERROR method `from` is not a member of trait `Fn`
}
fn main() {}
|