trait Ambiguous { fn method() {} } struct One; struct Two; struct Struct; impl Ambiguous for Struct {} //~^ NOTE multiple `impl`s satisfying `Struct: Ambiguous<_>` found impl Ambiguous for Struct {} fn main() { >::method(); //~^ ERROR type annotations needed //~| NOTE cannot infer type of the type parameter `A` //~| ERROR type annotations needed //~| NOTE infer type of the type parameter `A` }