2022-06-20 07:07:14 -05:00
|
|
|
error[E0046]: not all trait items implemented, missing: `CONSTANT`
|
2022-04-27 10:01:05 -05:00
|
|
|
--> $DIR/default-body-stability-err.rs:10:1
|
|
|
|
|
|
|
|
|
LL | impl JustTrait for Type {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2022-06-20 07:07:14 -05:00
|
|
|
= note: default implementation of `CONSTANT` is unstable
|
|
|
|
= note: use of unstable library feature 'constant_default_body'
|
2022-04-27 10:01:05 -05:00
|
|
|
= help: add `#![feature(constant_default_body)]` to the crate attributes to enable
|
|
|
|
|
2022-06-20 07:07:14 -05:00
|
|
|
error[E0046]: not all trait items implemented, missing: `fun`
|
2022-04-27 10:01:05 -05:00
|
|
|
--> $DIR/default-body-stability-err.rs:10:1
|
|
|
|
|
|
|
|
|
LL | impl JustTrait for Type {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2022-06-20 07:07:14 -05:00
|
|
|
= note: default implementation of `fun` is unstable
|
|
|
|
= note: use of unstable library feature 'fun_default_body'
|
2022-04-27 10:01:05 -05:00
|
|
|
= help: add `#![feature(fun_default_body)]` to the crate attributes to enable
|
|
|
|
|
2022-06-20 07:07:14 -05:00
|
|
|
error[E0046]: not all trait items implemented, missing: `eq`
|
2022-04-27 10:01:05 -05:00
|
|
|
--> $DIR/default-body-stability-err.rs:14:1
|
|
|
|
|
|
|
|
|
LL | / impl Equal for Type {
|
|
|
|
LL | |
|
|
|
|
LL | | fn neq(&self, other: &Self) -> bool {
|
|
|
|
LL | | false
|
|
|
|
LL | | }
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
2022-06-20 07:07:14 -05:00
|
|
|
= note: default implementation of `eq` is unstable
|
|
|
|
= note: use of unstable library feature 'eq_default_body'
|
2022-04-27 10:01:05 -05:00
|
|
|
= help: add `#![feature(eq_default_body)]` to the crate attributes to enable
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
2022-06-20 07:07:14 -05:00
|
|
|
For more information about this error, try `rustc --explain E0046`.
|