1 error[E0369]: binary operation `==` cannot be applied to type `A`
2 --> $DIR/issue-62375.rs:7:7
5 | - ^^ -------- fn(()) -> A {A::Value}
9 note: an implementation of `PartialEq<_>` might be missing for `A`
10 --> $DIR/issue-62375.rs:1:1
13 | ^^^^^^ must implement `PartialEq<_>`
14 help: consider annotating `A` with `#[derive(PartialEq)]`
16 LL | #[derive(PartialEq)]
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0369`.