mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-30 15:03:36 +00:00
13 lines
397 B
Text
13 lines
397 B
Text
error: re-implementing `PartialEq::ne` is unnecessary
|
|
--> examples/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
|
|
|
|
error: Could not compile `clippy_tests`.
|
|
|
|
To learn more, run the command again with --verbose.
|