2018-08-08 07:28:26 -05:00
|
|
|
error[E0369]: binary operation `==` cannot be applied to type `NoCloneOrEq`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/deriving-no-inner-impl-error-message.rs:5:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | x: NoCloneOrEq
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: an implementation of `std::cmp::PartialEq` might be missing for `NoCloneOrEq`
|
2019-12-16 07:56:47 -06:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error[E0369]: binary operation `!=` cannot be applied to type `NoCloneOrEq`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/deriving-no-inner-impl-error-message.rs:5:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | x: NoCloneOrEq
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: an implementation of `std::cmp::PartialEq` might be missing for `NoCloneOrEq`
|
2019-12-16 07:56:47 -06:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2020-09-02 02:40:56 -05:00
|
|
|
error[E0277]: the trait bound `NoCloneOrEq: Clone` is not satisfied
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/deriving-no-inner-impl-error-message.rs:10:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | x: NoCloneOrEq
|
2020-09-02 02:40:56 -05:00
|
|
|
| ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NoCloneOrEq`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2020-09-02 02:40:56 -05:00
|
|
|
= note: required by `clone`
|
2019-12-16 07:56:47 -06:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
2019-04-17 12:26:38 -05:00
|
|
|
Some errors have detailed explanations: E0277, E0369.
|
2018-08-08 07:28:26 -05:00
|
|
|
For more information about an error, try `rustc --explain E0277`.
|