2018-05-28 19:17:55 -05:00
|
|
|
error: Multiple implementations of this structure
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/impl.rs:12:1
|
2018-05-28 19:17:55 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
12 | / impl MyStruct {
|
|
|
|
13 | | fn second() {}
|
|
|
|
14 | | }
|
2018-05-28 19:17:55 -05:00
|
|
|
| |_^
|
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
= note: `-D clippy::multiple-inherent-impl` implied by `-D warnings`
|
2018-05-28 19:17:55 -05:00
|
|
|
note: First implementation here
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/impl.rs:8:1
|
2018-05-28 19:17:55 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
8 | / impl MyStruct {
|
|
|
|
9 | | fn first() {}
|
|
|
|
10 | | }
|
2018-05-28 19:17:55 -05:00
|
|
|
| |_^
|
|
|
|
|
|
|
|
error: Multiple implementations of this structure
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/impl.rs:26:5
|
2018-05-28 19:17:55 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
26 | / impl super::MyStruct {
|
|
|
|
27 | | fn third() {}
|
|
|
|
28 | | }
|
2018-05-28 19:17:55 -05:00
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: First implementation here
|
2018-08-01 09:30:44 -05:00
|
|
|
--> $DIR/impl.rs:8:1
|
2018-05-28 19:17:55 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
8 | / impl MyStruct {
|
|
|
|
9 | | fn first() {}
|
|
|
|
10 | | }
|
2018-05-28 19:17:55 -05:00
|
|
|
| |_^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|