summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/default-method/rustc_must_implement_one_of.stderr
blob: 5a4dd1388b2e098b38b0f88512126a053140ba03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0046]: not all trait items implemented, missing one of: `eq`, `neq`
  --> $DIR/rustc_must_implement_one_of.rs:41:1
   |
LL | impl Equal for T3 {}
   | ^^^^^^^^^^^^^^^^^ missing one of `eq`, `neq` in implementation
   |
note: required because of this annotation
  --> $DIR/rustc_must_implement_one_of.rs:3:1
   |
LL | #[rustc_must_implement_one_of(eq, neq)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

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