@@ -16,76 +16,52 @@ LL | #![deny(clippy::multiple_inherent_impl)]
1616 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1717
1818error: multiple implementations of this structure
19- --> tests/ui/multiple_inherent_impl_cfg.rs:16:1
20- |
21- LL | impl A {} // false positive
22- | ^^^^^^^^^
23- |
24- note: first implementation here
25- --> tests/ui/multiple_inherent_impl_cfg.rs:10:1
26- |
27- LL | impl A {}
28- | ^^^^^^^^^
29-
30- error: multiple implementations of this structure
31- --> tests/ui/multiple_inherent_impl_cfg.rs:20:1
19+ --> tests/ui/multiple_inherent_impl_cfg.rs:19:1
3220 |
3321LL | impl A {}
3422 | ^^^^^^^^^
3523 |
3624note: first implementation here
37- --> tests/ui/multiple_inherent_impl_cfg.rs:10 :1
25+ --> tests/ui/multiple_inherent_impl_cfg.rs:16 :1
3826 |
3927LL | impl A {}
4028 | ^^^^^^^^^
4129
4230error: multiple implementations of this structure
43- --> tests/ui/multiple_inherent_impl_cfg.rs:28:1
44- |
45- LL | impl B {} // false positive
46- | ^^^^^^^^^
47- |
48- note: first implementation here
49- --> tests/ui/multiple_inherent_impl_cfg.rs:25:1
50- |
51- LL | impl B {}
52- | ^^^^^^^^^
53-
54- error: multiple implementations of this structure
55- --> tests/ui/multiple_inherent_impl_cfg.rs:31:1
31+ --> tests/ui/multiple_inherent_impl_cfg.rs:29:1
5632 |
5733LL | impl B {}
5834 | ^^^^^^^^^
5935 |
6036note: first implementation here
61- --> tests/ui/multiple_inherent_impl_cfg.rs:25 :1
37+ --> tests/ui/multiple_inherent_impl_cfg.rs:24 :1
6238 |
6339LL | impl B {}
6440 | ^^^^^^^^^
6541
6642error: multiple implementations of this structure
67- --> tests/ui/multiple_inherent_impl_cfg.rs:35 :1
43+ --> tests/ui/multiple_inherent_impl_cfg.rs:33 :1
6844 |
6945LL | impl B {}
7046 | ^^^^^^^^^
7147 |
7248note: first implementation here
73- --> tests/ui/multiple_inherent_impl_cfg.rs:25 :1
49+ --> tests/ui/multiple_inherent_impl_cfg.rs:27 :1
7450 |
7551LL | impl B {}
7652 | ^^^^^^^^^
7753
7854error: multiple implementations of this structure
79- --> tests/ui/multiple_inherent_impl_cfg.rs:45 :1
55+ --> tests/ui/multiple_inherent_impl_cfg.rs:43 :1
8056 |
8157LL | impl C {}
8258 | ^^^^^^^^^
8359 |
8460note: first implementation here
85- --> tests/ui/multiple_inherent_impl_cfg.rs:42 :1
61+ --> tests/ui/multiple_inherent_impl_cfg.rs:40 :1
8662 |
8763LL | impl C {}
8864 | ^^^^^^^^^
8965
90- error: aborting due to 7 previous errors
66+ error: aborting due to 5 previous errors
9167
0 commit comments