mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 09:03:18 +00:00
15 lines
423 B
Text
15 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
|
|
|