]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-62375.stderr
Rollup merge of #106470 - ehuss:tidy-no-wasm, r=Mark-Simulacrum
[rust.git] / tests / ui / issues / issue-62375.stderr
1 error[E0369]: binary operation `==` cannot be applied to type `A`
2   --> $DIR/issue-62375.rs:7:7
3    |
4 LL |     a == A::Value;
5    |     - ^^ -------- fn(()) -> A {A::Value}
6    |     |
7    |     A
8    |
9 note: an implementation of `PartialEq<_>` might be missing for `A`
10   --> $DIR/issue-62375.rs:1:1
11    |
12 LL | enum A {
13    | ^^^^^^ must implement `PartialEq<_>`
14 help: consider annotating `A` with `#[derive(PartialEq)]`
15    |
16 LL | #[derive(PartialEq)]
17    |
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0369`.