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