blob: 135cdf19e3e3e417b81bd27465df5e5b365d252a [file] [log] [blame]
struct A<T>(T);
trait Foo {
type B;
}
impl Foo for A<u32> {
type B = i32;
}
impl Foo for A<i32> {
type B = i32;
}
fn main() {
A::B::<>::C
//~^ ERROR ambiguous associated type
}