]> git.lizzy.rs Git - rust.git/blob - src/test/ui/inherent-impls-overlap-check/overlap.stderr
Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup
[rust.git] / src / test / ui / inherent-impls-overlap-check / overlap.stderr
1 error[E0592]: duplicate definitions with name `hello`
2   --> $DIR/overlap.rs:20:12
3    |
4 LL | impl Foo { fn hello() {} }
5    |            ^^^^^^^^^^ duplicate definitions for `hello`
6 LL | impl Foo { fn hello() {} }
7    |            ---------- other definition for `hello`
8
9 error[E0592]: duplicate definitions with name `hello2`
10   --> $DIR/overlap.rs:31:5
11    |
12 LL |     fn hello2() {}
13    |     ^^^^^^^^^^^ duplicate definitions for `hello2`
14 ...
15 LL |     fn hello2() {}
16    |     ----------- other definition for `hello2`
17
18 error[E0592]: duplicate definitions with name `bar`
19   --> $DIR/overlap.rs:46:5
20    |
21 LL |     fn bar() {}
22    |     ^^^^^^^^ duplicate definitions for `bar`
23 ...
24 LL |     fn bar() {}
25    |     -------- other definition for `bar`
26
27 error[E0592]: duplicate definitions with name `hello3`
28   --> $DIR/overlap.rs:47:5
29    |
30 LL |     fn hello3() {}
31    |     ^^^^^^^^^^^ duplicate definitions for `hello3`
32 ...
33 LL |     fn hello3() {}
34    |     ----------- other definition for `hello3`
35
36 error[E0592]: duplicate definitions with name `bar2`
37   --> $DIR/overlap.rs:67:5
38    |
39 LL |     fn bar2() {}
40    |     ^^^^^^^^^ duplicate definitions for `bar2`
41 LL | }
42 LL | impl Bar<B> { fn bar2() {} }
43    |               --------- other definition for `bar2`
44
45 error: aborting due to 5 previous errors
46
47 For more information about this error, try `rustc --explain E0592`.