rust/tests/ui/missing/missing-derivable-attr.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
402 B
Plaintext
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0046]: not all trait items implemented, missing: `eq`
2018-12-25 08:56:47 -07:00
--> $DIR/missing-derivable-attr.rs:13:1
2018-08-08 14:28:26 +02:00
|
LL | fn eq(&self, other: &Self) -> bool;
| ----------------------------------- `eq` from trait
...
2019-03-09 15:03:44 +03:00
LL | impl MyEq for A {}
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^^^ missing `eq` in implementation
error: aborting due to previous error
For more information about this error, try `rustc --explain E0046`.