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