//@ compile-flags: -Znext-solver //@ check-pass trait A { type A: B; } trait B { type B: C; } trait C {} fn needs_c() {} fn test() { needs_c::<::B>(); } fn main() {}