mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 21:53:23 +00:00
16 lines
423 B
Text
16 lines
423 B
Text
|
error: re-implementing `PartialEq::ne` is unnecessary
|
||
|
--> $DIR/partialeq_ne_impl.rs:11:5
|
||
|
|
|
||
|
11 | fn ne(&self, _: &Foo) -> bool { false }
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: #[deny(partialeq_ne_impl)] implied by #[deny(warnings)]
|
||
|
note: lint level defined here
|
||
|
--> $DIR/partialeq_ne_impl.rs:4:9
|
||
|
|
|
||
|
4 | #![deny(warnings)]
|
||
|
| ^^^^^^^^
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|