2018-05-29 02:17:55 +02:00
|
|
|
error: Multiple implementations of this structure
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/impl.rs:22:1
|
2018-05-29 02:17:55 +02:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
22 | / impl MyStruct {
|
|
|
|
23 | | fn second() {}
|
|
|
|
24 | | }
|
2018-05-29 02:17:55 +02:00
|
|
|
| |_^
|
|
|
|
|
|
2018-08-01 16:30:44 +02:00
|
|
|
= note: `-D clippy::multiple-inherent-impl` implied by `-D warnings`
|
2018-05-29 02:17:55 +02:00
|
|
|
note: First implementation here
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/impl.rs:18:1
|
2018-05-29 02:17:55 +02:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
18 | / impl MyStruct {
|
|
|
|
19 | | fn first() {}
|
|
|
|
20 | | }
|
2018-05-29 02:17:55 +02:00
|
|
|
| |_^
|
|
|
|
|
|
|
|
error: Multiple implementations of this structure
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/impl.rs:36:5
|
2018-05-29 02:17:55 +02:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
36 | / impl super::MyStruct {
|
|
|
|
37 | | fn third() {}
|
|
|
|
38 | | }
|
2018-05-29 02:17:55 +02:00
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: First implementation here
|
2018-10-06 18:18:06 +02:00
|
|
|
--> $DIR/impl.rs:18:1
|
2018-05-29 02:17:55 +02:00
|
|
|
|
|
2018-10-06 18:18:06 +02:00
|
|
|
18 | / impl MyStruct {
|
|
|
|
19 | | fn first() {}
|
|
|
|
20 | | }
|
2018-05-29 02:17:55 +02:00
|
|
|
| |_^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|