]>
Commit | Line | Data |
---|---|---|
f2b60f7d FG |
1 | error[E0046]: not all trait items implemented, missing: `CONSTANT` |
2 | --> $DIR/default-body-stability-err.rs:10:1 | |
3 | | | |
4 | LL | 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 | ||
11 | error[E0046]: not all trait items implemented, missing: `fun` | |
12 | --> $DIR/default-body-stability-err.rs:10:1 | |
13 | | | |
14 | LL | 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 | ||
21 | error[E0046]: not all trait items implemented, missing: `eq` | |
22 | --> $DIR/default-body-stability-err.rs:14:1 | |
23 | | | |
24 | LL | / impl Equal for Type { | |
25 | LL | | | |
26 | LL | | fn neq(&self, other: &Self) -> bool { | |
27 | LL | | false | |
28 | LL | | } | |
29 | LL | | } | |
30 | | |_^ | |
31 | | | |
32 | = note: default implementation of `eq` is unstable | |
33 | = note: use of unstable library feature 'eq_default_body' | |
34 | = help: add `#![feature(eq_default_body)]` to the crate attributes to enable | |
35 | ||
36 | error: aborting due to 3 previous errors | |
37 | ||
38 | For more information about this error, try `rustc --explain E0046`. |