rust-clippy/tests/ui/partialeq_ne_impl.stderr
2018-10-06 09:43:08 -07:00

10 lines
306 B
Text

error: re-implementing `PartialEq::ne` is unnecessary
--> $DIR/partialeq_ne_impl.rs:20:5
|
20 | fn ne(&self, _: &Foo) -> bool { false }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::partialeq-ne-impl` implied by `-D warnings`
error: aborting due to previous error