struct Test;
trait Trait1 {
fn foo();
}
trait Trait2 {
impl Trait1 for Test {
fn foo() {}
impl Trait2 for Test {
fn main() {
Test::foo() //~ ERROR multiple applicable items in scope