mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +00:00
70 lines
2.5 KiB
Text
70 lines
2.5 KiB
Text
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> $DIR/derive_partial_eq_without_eq.rs:13:17
|
|
|
|
|
LL | #[derive(Debug, PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
|
= note: `-D clippy::derive-partial-eq-without-eq` implied by `-D warnings`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> $DIR/derive_partial_eq_without_eq.rs:55:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> $DIR/derive_partial_eq_without_eq.rs:61:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> $DIR/derive_partial_eq_without_eq.rs:67:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> $DIR/derive_partial_eq_without_eq.rs:70:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> $DIR/derive_partial_eq_without_eq.rs:76:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> $DIR/derive_partial_eq_without_eq.rs:82:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> $DIR/derive_partial_eq_without_eq.rs:95:17
|
|
|
|
|
LL | #[derive(Debug, PartialEq, Clone)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> $DIR/derive_partial_eq_without_eq.rs:98:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> $DIR/derive_partial_eq_without_eq.rs:105:14
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> $DIR/derive_partial_eq_without_eq.rs:108:14
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: aborting due to 11 previous errors
|
|
|