mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
71 lines
2.6 KiB
Text
71 lines
2.6 KiB
Text
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> tests/ui/derive_partial_eq_without_eq.rs:11: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`
|
|
= help: to override `-D warnings` add `#[allow(clippy::derive_partial_eq_without_eq)]`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> tests/ui/derive_partial_eq_without_eq.rs:53:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> tests/ui/derive_partial_eq_without_eq.rs:59:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> tests/ui/derive_partial_eq_without_eq.rs:65:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> tests/ui/derive_partial_eq_without_eq.rs:68:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> tests/ui/derive_partial_eq_without_eq.rs:74:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> tests/ui/derive_partial_eq_without_eq.rs:80:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> tests/ui/derive_partial_eq_without_eq.rs:93:17
|
|
|
|
|
LL | #[derive(Debug, PartialEq, Clone)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> tests/ui/derive_partial_eq_without_eq.rs:96:10
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> tests/ui/derive_partial_eq_without_eq.rs:103:14
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: you are deriving `PartialEq` and can implement `Eq`
|
|
--> tests/ui/derive_partial_eq_without_eq.rs:106:14
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: aborting due to 11 previous errors
|
|
|