1 error[E0407]: method `from` is not a member of trait `Fn`
2 --> $DIR/issue-87558.rs:6:5
5 | ^^^^^^^^^^^^ not a member of trait `Fn`
7 error[E0183]: manual implementations of `Fn` are experimental
8 --> $DIR/issue-87558.rs:3:6
10 LL | impl Fn(&isize) for Error {
11 | ^^^^^^^^^^ manual implementations of `Fn` are experimental
13 = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
15 error[E0229]: associated type bindings are not allowed here
16 --> $DIR/issue-87558.rs:3:6
18 LL | impl Fn(&isize) for Error {
19 | ^^^^^^^^^^ associated type not allowed here
21 error: aborting due to 3 previous errors
23 Some errors have detailed explanations: E0183, E0229, E0407.
24 For more information about an error, try `rustc --explain E0183`.