blob: cccba2f5f3f2f4fda48a51f3dbe9c1bdd841e601 [file] [log] [blame]
error[E0046]: not all trait items implemented, missing: `eq`
--> $DIR/missing-derivable-attr.rs:23:1
|
LL | fn eq(&self, other: &Self) -> bool;
| ----------------------------------- `eq` from trait
...
LL | impl MyEq for A {} //~ ERROR not all trait items implemented, missing: `eq`
| ^^^^^^^^^^^^^^^ missing `eq` in implementation
error: aborting due to previous error
For more information about this error, try `rustc --explain E0046`.