summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/derive_partial_eq_without_eq.stderr
blob: 794c5dab8445bb1f11a91f5cdd6f0d4f56fc5237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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