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