trait Foo { type A; } struct FooStruct; impl Foo for FooStruct { type A = ::A; //~^ ERROR overflow evaluating the requirement `::A == _` } fn main() {}