]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0369]: binary operation `==` cannot be applied to type `Error` |
ba9703b0 | 2 | --> $DIR/derives-span-PartialEq-enum.rs:9:6 |
b7449926 | 3 | | |
136023e0 XL |
4 | LL | #[derive(PartialEq)] |
5 | | --------- in this derive macro expansion | |
6 | ... | |
532ac7d7 | 7 | LL | Error |
b7449926 XL |
8 | | ^^^^^ |
9 | | | |
c295e0f8 XL |
10 | note: an implementation of `PartialEq<_>` might be missing for `Error` |
11 | --> $DIR/derives-span-PartialEq-enum.rs:4:1 | |
12 | | | |
13 | LL | struct Error; | |
064997fb | 14 | | ^^^^^^^^^^^^ must implement `PartialEq<_>` |
17df50a5 | 15 | = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) |
c295e0f8 XL |
16 | help: consider annotating `Error` with `#[derive(PartialEq)]` |
17 | | | |
18 | LL | #[derive(PartialEq)] | |
19 | | | |
b7449926 XL |
20 | |
21 | error[E0369]: binary operation `!=` cannot be applied to type `Error` | |
ba9703b0 | 22 | --> $DIR/derives-span-PartialEq-enum.rs:9:6 |
b7449926 | 23 | | |
136023e0 XL |
24 | LL | #[derive(PartialEq)] |
25 | | --------- in this derive macro expansion | |
26 | ... | |
532ac7d7 | 27 | LL | Error |
b7449926 XL |
28 | | ^^^^^ |
29 | | | |
c295e0f8 XL |
30 | note: an implementation of `PartialEq<_>` might be missing for `Error` |
31 | --> $DIR/derives-span-PartialEq-enum.rs:4:1 | |
32 | | | |
33 | LL | struct Error; | |
064997fb | 34 | | ^^^^^^^^^^^^ must implement `PartialEq<_>` |
17df50a5 | 35 | = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) |
c295e0f8 XL |
36 | help: consider annotating `Error` with `#[derive(PartialEq)]` |
37 | | | |
38 | LL | #[derive(PartialEq)] | |
39 | | | |
b7449926 XL |
40 | |
41 | error: aborting due to 2 previous errors | |
42 | ||
43 | For more information about this error, try `rustc --explain E0369`. |