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