1 error[E0592]: duplicate definitions with name `hello`
2 --> $DIR/overlap.rs:20:12
4 LL | impl Foo { fn hello() {} }
5 | ^^^^^^^^^^ duplicate definitions for `hello`
6 LL | impl Foo { fn hello() {} }
7 | ---------- other definition for `hello`
9 error[E0592]: duplicate definitions with name `hello2`
10 --> $DIR/overlap.rs:31:5
13 | ^^^^^^^^^^^ duplicate definitions for `hello2`
16 | ----------- other definition for `hello2`
18 error[E0592]: duplicate definitions with name `bar`
19 --> $DIR/overlap.rs:46:5
22 | ^^^^^^^^ duplicate definitions for `bar`
25 | -------- other definition for `bar`
27 error[E0592]: duplicate definitions with name `hello3`
28 --> $DIR/overlap.rs:47:5
31 | ^^^^^^^^^^^ duplicate definitions for `hello3`
34 | ----------- other definition for `hello3`
36 error[E0592]: duplicate definitions with name `bar2`
37 --> $DIR/overlap.rs:67:5
40 | ^^^^^^^^^ duplicate definitions for `bar2`
42 LL | impl Bar<B> { fn bar2() {} }
43 | --------- other definition for `bar2`
45 error: aborting due to 5 previous errors
47 For more information about this error, try `rustc --explain E0592`.