1 error[E0034]: multiple applicable items in scope
2 --> $DIR/issue-37767.rs:10:7
5 | ^^^ multiple `foo` found
7 note: candidate #1 is defined in the trait `A`
8 --> $DIR/issue-37767.rs:2:5
10 LL | fn foo(&mut self) {}
12 note: candidate #2 is defined in the trait `B`
13 --> $DIR/issue-37767.rs:6:5
15 LL | fn foo(&mut self) {}
17 help: disambiguate the associated function for candidate #1
21 help: disambiguate the associated function for candidate #2
26 error[E0034]: multiple applicable items in scope
27 --> $DIR/issue-37767.rs:22:7
30 | ^^^ multiple `foo` found
32 note: candidate #1 is defined in the trait `C`
33 --> $DIR/issue-37767.rs:14:5
37 note: candidate #2 is defined in the trait `D`
38 --> $DIR/issue-37767.rs:18:5
42 help: disambiguate the associated function for candidate #1
46 help: disambiguate the associated function for candidate #2
51 error[E0034]: multiple applicable items in scope
52 --> $DIR/issue-37767.rs:34:7
55 | ^^^ multiple `foo` found
57 note: candidate #1 is defined in the trait `E`
58 --> $DIR/issue-37767.rs:26:5
62 note: candidate #2 is defined in the trait `F`
63 --> $DIR/issue-37767.rs:30:5
67 help: disambiguate the associated function for candidate #1
71 help: disambiguate the associated function for candidate #2
76 error: aborting due to 3 previous errors
78 For more information about this error, try `rustc --explain E0034`.