mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
83 lines
3.1 KiB
Text
83 lines
3.1 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:69: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:75: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:81: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:84: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:90: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: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:109: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:112: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:119: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:122: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:182: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:190:14
|
|
|
|
|
LL | #[derive(PartialEq)]
|
|
| ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
|
|
|
|
error: aborting due to 13 previous errors
|
|
|