error[E0223]: ambiguous associated type --> $DIR/issue-107087.rs:16:5 | LL | A::B::<>::C | ^^^^^^^^ | help: use fully-qualified syntax | LL - A::B::<>::C LL + as Foo>::B::<>::C | error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0223`.