mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-20 18:13:36 +00:00
14 lines
311 B
Text
14 lines
311 B
Text
error: re-implementing `PartialEq::ne` is unnecessary
|
|
--> $DIR/partialeq_ne_impl.rs:9:5
|
|
|
|
|
LL | / fn ne(&self, _: &Foo) -> bool {
|
|
LL | |
|
|
LL | |
|
|
LL | | false
|
|
LL | | }
|
|
| |_____^
|
|
|
|
|
= note: `-D clippy::partialeq-ne-impl` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|