mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
392 B
Plaintext
16 lines
392 B
Plaintext
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`
|
|
= help: to override `-D warnings` add `#[allow(clippy::partialeq_ne_impl)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|