mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
13 lines
297 B
Plaintext
13 lines
297 B
Plaintext
error: re-implementing `PartialEq::ne` is unnecessary
|
|
--> $DIR/partialeq_ne_impl.rs:9:5
|
|
|
|
|
LL | / fn ne(&self, _: &Foo) -> bool {
|
|
LL | | false
|
|
LL | | }
|
|
| |_____^
|
|
|
|
|
= note: `-D clippy::partialeq-ne-impl` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|