about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/derived_hash_with_manual_eq.stderr
blob: 55740780c8a50fe90e8f72f9dc9ea33555b10908 (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
error: you are deriving `Hash` but have implemented `PartialEq` explicitly
  --> tests/ui/derived_hash_with_manual_eq.rs:12:10
   |
LL | #[derive(Hash)]
   |          ^^^^
   |
note: `PartialEq` implemented here
  --> tests/ui/derived_hash_with_manual_eq.rs:17:1
   |
LL | impl PartialEq for Bar {
   | ^^^^^^^^^^^^^^^^^^^^^^
   = note: `#[deny(clippy::derived_hash_with_manual_eq)]` on by default

error: you are deriving `Hash` but have implemented `PartialEq` explicitly
  --> tests/ui/derived_hash_with_manual_eq.rs:23:10
   |
LL | #[derive(Hash)]
   |          ^^^^
   |
note: `PartialEq` implemented here
  --> tests/ui/derived_hash_with_manual_eq.rs:28:1
   |
LL | impl PartialEq<Baz> for Baz {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors