help: disambiguate the associated function for candidate #1
|
LL | A::foo(&a)
- | ^^^^^^^^^^
+ | ~~~~~~~~~~
help: disambiguate the associated function for candidate #2
|
LL | B::foo(&a)
- | ^^^^^^^^^^
+ | ~~~~~~~~~~
error[E0034]: multiple applicable items in scope
--> $DIR/issue-37767.rs:22:7
help: disambiguate the associated function for candidate #1
|
LL | C::foo(&a)
- | ^^^^^^^^^^
+ | ~~~~~~~~~~
help: disambiguate the associated function for candidate #2
|
LL | D::foo(&a)
- | ^^^^^^^^^^
+ | ~~~~~~~~~~
error[E0034]: multiple applicable items in scope
--> $DIR/issue-37767.rs:34:7
help: disambiguate the associated function for candidate #1
|
LL | E::foo(a)
- | ^^^^^^^^^
+ | ~~~~~~~~~
help: disambiguate the associated function for candidate #2
|
LL | F::foo(a)
- | ^^^^^^^^^
+ | ~~~~~~~~~
error: aborting due to 3 previous errors