]> git.proxmox.com Git - rustc.git/blame - src/test/ui/derives/derives-span-PartialEq-enum.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / derives / derives-span-PartialEq-enum.stderr
CommitLineData
b7449926 1error[E0369]: binary operation `==` cannot be applied to type `Error`
ba9703b0 2 --> $DIR/derives-span-PartialEq-enum.rs:9:6
b7449926 3 |
136023e0
XL
4LL | #[derive(PartialEq)]
5 | --------- in this derive macro expansion
6...
532ac7d7 7LL | Error
b7449926
XL
8 | ^^^^^
9 |
c295e0f8
XL
10note: an implementation of `PartialEq<_>` might be missing for `Error`
11 --> $DIR/derives-span-PartialEq-enum.rs:4:1
12 |
13LL | 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
16help: consider annotating `Error` with `#[derive(PartialEq)]`
17 |
18LL | #[derive(PartialEq)]
19 |
b7449926
XL
20
21error[E0369]: binary operation `!=` cannot be applied to type `Error`
ba9703b0 22 --> $DIR/derives-span-PartialEq-enum.rs:9:6
b7449926 23 |
136023e0
XL
24LL | #[derive(PartialEq)]
25 | --------- in this derive macro expansion
26...
532ac7d7 27LL | Error
b7449926
XL
28 | ^^^^^
29 |
c295e0f8
XL
30note: an implementation of `PartialEq<_>` might be missing for `Error`
31 --> $DIR/derives-span-PartialEq-enum.rs:4:1
32 |
33LL | 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
36help: consider annotating `Error` with `#[derive(PartialEq)]`
37 |
38LL | #[derive(PartialEq)]
39 |
b7449926
XL
40
41error: aborting due to 2 previous errors
42
43For more information about this error, try `rustc --explain E0369`.