]> git.proxmox.com Git - rustc.git/blob - src/test/ui/derives/derives-span-PartialEq-struct.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / derives / derives-span-PartialEq-struct.stderr
1 error[E0369]: binary operation `==` cannot be applied to type `Error`
2 --> $DIR/derives-span-PartialEq-struct.rs:8:5
3 |
4 LL | #[derive(PartialEq)]
5 | --------- in this derive macro expansion
6 LL | struct Struct {
7 LL | x: Error
8 | ^^^^^^^^
9 |
10 = note: an implementation of `std::cmp::PartialEq` might be missing for `Error`
11 = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
12
13 error[E0369]: binary operation `!=` cannot be applied to type `Error`
14 --> $DIR/derives-span-PartialEq-struct.rs:8:5
15 |
16 LL | #[derive(PartialEq)]
17 | --------- in this derive macro expansion
18 LL | struct Struct {
19 LL | x: Error
20 | ^^^^^^^^
21 |
22 = note: an implementation of `std::cmp::PartialEq` might be missing for `Error`
23 = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
24
25 error: aborting due to 2 previous errors
26
27 For more information about this error, try `rustc --explain E0369`.