fork/rust

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

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

master
1.7 KiB48 linesraw
1error[E0046]: not all trait items implemented, missing: `CONSTANT`
2  --> $DIR/default-body-stability-err.rs:10:1
3   |
4LL | impl JustTrait for Type {}
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: default implementation of `CONSTANT` is unstable
8   = note: use of unstable library feature 'constant_default_body'
9   = help: add `#![feature(constant_default_body)]` to the crate attributes to enable
10
11error[E0046]: not all trait items implemented, missing: `fun`
12  --> $DIR/default-body-stability-err.rs:10:1
13   |
14LL | impl JustTrait for Type {}
15   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
16   |
17   = note: default implementation of `fun` is unstable
18   = note: use of unstable library feature 'fun_default_body'
19   = help: add `#![feature(fun_default_body)]` to the crate attributes to enable
20
21error[E0046]: not all trait items implemented, missing: `fun2`
22  --> $DIR/default-body-stability-err.rs:10:1
23   |
24LL | impl JustTrait for Type {}
25   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
26   |
27   = note: default implementation of `fun2` is unstable
28   = note: use of unstable library feature 'fun_default_body': reason
29   = help: add `#![feature(fun_default_body)]` to the crate attributes to enable
30
31error[E0046]: not all trait items implemented, missing: `eq`
32  --> $DIR/default-body-stability-err.rs:15:1
33   |
34LL | / impl Equal for Type {
35LL | |
36LL | |     fn neq(&self, other: &Self) -> bool {
37LL | |         false
38LL | |     }
39LL | | }
40   | |_^
41   |
42   = note: default implementation of `eq` is unstable
43   = note: use of unstable library feature 'eq_default_body'
44   = help: add `#![feature(eq_default_body)]` to the crate attributes to enable
45
46error: aborting due to 4 previous errors
47
48For more information about this error, try `rustc --explain E0046`.