mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 01:17:16 +00:00
10 lines
298 B
Text
10 lines
298 B
Text
error: re-implementing `PartialEq::ne` is unnecessary
|
|
--> $DIR/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
|
|
|