]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl.stderr
iterate List by value
[rust.git] / tests / ui / impl.stderr
1 error: Multiple implementations of this structure
2   --> $DIR/impl.rs:10:1
3    |
4 LL | / impl MyStruct {
5 LL | |     fn second() {}
6 LL | | }
7    | |_^
8    |
9    = note: `-D clippy::multiple-inherent-impl` implied by `-D warnings`
10 note: First implementation here
11   --> $DIR/impl.rs:6:1
12    |
13 LL | / impl MyStruct {
14 LL | |     fn first() {}
15 LL | | }
16    | |_^
17
18 error: Multiple implementations of this structure
19   --> $DIR/impl.rs:24:5
20    |
21 LL | /     impl super::MyStruct {
22 LL | |         fn third() {}
23 LL | |     }
24    | |_____^
25    |
26 note: First implementation here
27   --> $DIR/impl.rs:6:1
28    |
29 LL | / impl MyStruct {
30 LL | |     fn first() {}
31 LL | | }
32    | |_^
33
34 error: aborting due to 2 previous errors
35