2018-05-28 19:17:55 -05:00
|
|
|
error: Multiple implementations of this structure
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/impl.rs:22:1
|
2018-05-28 19:17:55 -05:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
22 | / impl MyStruct {
|
|
|
|
23 | | fn second() {}
|
|
|
|
24 | | }
|
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-10-06 11:18:06 -05:00
|
|
|
--> $DIR/impl.rs:18:1
|
2018-05-28 19:17:55 -05:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
18 | / impl MyStruct {
|
|
|
|
19 | | fn first() {}
|
|
|
|
20 | | }
|
2018-05-28 19:17:55 -05:00
|
|
|
| |_^
|
|
|
|
|
|
|
|
error: Multiple implementations of this structure
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/impl.rs:36:5
|
2018-05-28 19:17:55 -05:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
36 | / impl super::MyStruct {
|
|
|
|
37 | | fn third() {}
|
|
|
|
38 | | }
|
2018-05-28 19:17:55 -05:00
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: First implementation here
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/impl.rs:18:1
|
2018-05-28 19:17:55 -05:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
18 | / impl MyStruct {
|
|
|
|
19 | | fn first() {}
|
|
|
|
20 | | }
|
2018-05-28 19:17:55 -05:00
|
|
|
| |_^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|