fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
968 B30 linesraw
1error[E0407]: method `from` is not a member of trait `Fn`
2  --> $DIR/issue-87558.rs:6:5
3   |
4LL |     fn from() {}
5   |     ^^^^^^^^^^^^ not a member of trait `Fn`
6
7error[E0183]: manual implementations of `Fn` are experimental
8  --> $DIR/issue-87558.rs:3:6
9   |
10LL | impl Fn(&isize) for Error {
11   |      ^^^^^^^^^^ manual implementations of `Fn` are experimental
12   |
13   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
14
15error[E0229]: associated type bindings are not allowed here
16  --> $DIR/issue-87558.rs:3:6
17   |
18LL | impl Fn(&isize) for Error {
19   |      ^^^^^^^^^^ associated type not allowed here
20   |
21help: parenthesized trait syntax expands to `Fn<(&isize,), Output=()>`
22  --> $DIR/issue-87558.rs:3:6
23   |
24LL | impl Fn(&isize) for Error {
25   |      ^^^^^^^^^^
26
27error: aborting due to 3 previous errors
28
29Some errors have detailed explanations: E0183, E0229, E0407.
30For more information about an error, try `rustc --explain E0183`.