summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-62375.stderr
blob: a6fd3700edda835e333bb22c433ff6c1949e5b0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error[E0369]: binary operation `==` cannot be applied to type `A`
  --> $DIR/issue-62375.rs:7:7
   |
LL |     a == A::Value;
   |     - ^^ -------- fn(()) -> A {A::Value}
   |     |
   |     A
   |
note: an implementation of `PartialEq<_>` might be missing for `A`
  --> $DIR/issue-62375.rs:1:1
   |
LL | enum A {
   | ^^^^^^ must implement `PartialEq<_>`
help: consider annotating `A` with `#[derive(PartialEq)]`
   |
LL + #[derive(PartialEq)]
LL | enum A {
   |

error: aborting due to previous error

For more information about this error, try `rustc --explain E0369`.