mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
12 lines
372 B
Plaintext
12 lines
372 B
Plaintext
error: re-implementing `PartialEq::ne` is unnecessary
|
|
--> tests/ui/partialeq_ne_impl.rs:9:5
|
|
|
|
|
LL | fn ne(&self, _: &Foo) -> bool {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::partialeq-ne-impl` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::partialeq_ne_impl)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|