rust/tests/ui/impl.stderr

36 lines
694 B
Plaintext
Raw Normal View History

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