]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/derives-span-PartialEq-enum.stderr
Rollup merge of #87307 - michaelwoerister:pgo-unwind-msvc, r=nagisa
[rust.git] / src / test / ui / derives / derives-span-PartialEq-enum.stderr
1 error[E0369]: binary operation `==` cannot be applied to type `Error`
2   --> $DIR/derives-span-PartialEq-enum.rs:9:6
3    |
4 LL | #[derive(PartialEq)]
5    |          --------- in this derive macro expansion
6 ...
7 LL |      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-enum.rs:9:6
15    |
16 LL | #[derive(PartialEq)]
17    |          --------- in this derive macro expansion
18 ...
19 LL |      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`.