rust-clippy/clippy_tests/examples/partialeq_ne_impl.stderr
2017-06-19 22:11:12 +02:00

12 lines
350 B
Text

error: re-implementing `PartialEq::ne` is unnecessary
--> partialeq_ne_impl.rs:10:5
|
10 | fn ne(&self, _: &Foo) -> bool { false }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D partialeq-ne-impl` implied by `-D warnings`
error: aborting due to previous error(s)
To learn more, run the command again with --verbose.