|
| 1 | +error: multiple implementations of this structure |
| 2 | + --> tests/ui/multiple_inherent_impl_cfg.rs:12:1 |
| 3 | + | |
| 4 | +LL | impl A {} |
| 5 | + | ^^^^^^^^^ |
| 6 | + | |
| 7 | +note: first implementation here |
| 8 | + --> tests/ui/multiple_inherent_impl_cfg.rs:10:1 |
| 9 | + | |
| 10 | +LL | impl A {} |
| 11 | + | ^^^^^^^^^ |
| 12 | +note: the lint level is defined here |
| 13 | + --> tests/ui/multiple_inherent_impl_cfg.rs:2:9 |
| 14 | + | |
| 15 | +LL | #![deny(clippy::multiple_inherent_impl)] |
| 16 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 17 | + |
| 18 | +error: 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 |
| 32 | + | |
| 33 | +LL | impl A {} |
| 34 | + | ^^^^^^^^^ |
| 35 | + | |
| 36 | +note: first implementation here |
| 37 | + --> tests/ui/multiple_inherent_impl_cfg.rs:10:1 |
| 38 | + | |
| 39 | +LL | impl A {} |
| 40 | + | ^^^^^^^^^ |
| 41 | + |
| 42 | +error: 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 |
| 56 | + | |
| 57 | +LL | impl B {} |
| 58 | + | ^^^^^^^^^ |
| 59 | + | |
| 60 | +note: first implementation here |
| 61 | + --> tests/ui/multiple_inherent_impl_cfg.rs:25:1 |
| 62 | + | |
| 63 | +LL | impl B {} |
| 64 | + | ^^^^^^^^^ |
| 65 | + |
| 66 | +error: multiple implementations of this structure |
| 67 | + --> tests/ui/multiple_inherent_impl_cfg.rs:35:1 |
| 68 | + | |
| 69 | +LL | impl B {} |
| 70 | + | ^^^^^^^^^ |
| 71 | + | |
| 72 | +note: first implementation here |
| 73 | + --> tests/ui/multiple_inherent_impl_cfg.rs:25:1 |
| 74 | + | |
| 75 | +LL | impl B {} |
| 76 | + | ^^^^^^^^^ |
| 77 | + |
| 78 | +error: multiple implementations of this structure |
| 79 | + --> tests/ui/multiple_inherent_impl_cfg.rs:45:1 |
| 80 | + | |
| 81 | +LL | impl C {} |
| 82 | + | ^^^^^^^^^ |
| 83 | + | |
| 84 | +note: first implementation here |
| 85 | + --> tests/ui/multiple_inherent_impl_cfg.rs:42:1 |
| 86 | + | |
| 87 | +LL | impl C {} |
| 88 | + | ^^^^^^^^^ |
| 89 | + |
| 90 | +error: aborting due to 7 previous errors |
| 91 | + |
0 commit comments