1 error[E0369]: binary operation `==` cannot be applied to type `NoCloneOrEq`
2 --> $DIR/deriving-no-inner-impl-error-message.rs:5:5
4 LL | #[derive(PartialEq)]
5 | --------- in this derive macro expansion
10 note: an implementation of `PartialEq<_>` might be missing for `NoCloneOrEq`
11 --> $DIR/deriving-no-inner-impl-error-message.rs:1:1
13 LL | struct NoCloneOrEq;
14 | ^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>`
15 = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
16 help: consider annotating `NoCloneOrEq` with `#[derive(PartialEq)]`
18 LL | #[derive(PartialEq)]
21 error[E0277]: the trait bound `NoCloneOrEq: Clone` is not satisfied
22 --> $DIR/deriving-no-inner-impl-error-message.rs:9:5
25 | ----- in this derive macro expansion
28 | ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NoCloneOrEq`
30 = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
31 help: consider annotating `NoCloneOrEq` with `#[derive(Clone)]`
36 error: aborting due to 2 previous errors
38 Some errors have detailed explanations: E0277, E0369.
39 For more information about an error, try `rustc --explain E0277`.