2018-08-08 14:28:26 +02:00
|
|
|
error[E0369]: binary operation `==` cannot be applied to type `Error`
|
2020-04-01 04:10:13 +03:00
|
|
|
--> $DIR/derives-span-PartialEq-struct.rs:8:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2021-07-17 11:13:50 -07:00
|
|
|
LL | #[derive(PartialEq)]
|
|
|
|
| --------- in this derive macro expansion
|
|
|
|
LL | struct Struct {
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | x: Error
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: an implementation of `std::cmp::PartialEq` might be missing for `Error`
|
2021-02-13 14:52:25 -05:00
|
|
|
= note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
error[E0369]: binary operation `!=` cannot be applied to type `Error`
|
2020-04-01 04:10:13 +03:00
|
|
|
--> $DIR/derives-span-PartialEq-struct.rs:8:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2021-07-17 11:13:50 -07:00
|
|
|
LL | #[derive(PartialEq)]
|
|
|
|
| --------- in this derive macro expansion
|
|
|
|
LL | struct Struct {
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | x: Error
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: an implementation of `std::cmp::PartialEq` might be missing for `Error`
|
2021-02-13 14:52:25 -05:00
|
|
|
= note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0369`.
|