error[E0275]: overflow evaluating the requirement `::A` --> $DIR/issue-21946.rs:7:6 | LL | impl Foo for FooStruct { | ^^^ error[E0275]: overflow evaluating the requirement `::A` --> $DIR/issue-21946.rs:9:5 | LL | type A = ::A; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0275`.