// compile-flags: -Znext-solver // check-pass trait Trait { type Assoc; } fn call(_: ::Assoc, _: T) {} fn foo(rigid: ::Assoc, t: T) { // Check that we can coerce `::Assoc` to `::Assoc`. call::<_ /* ?0 */>(rigid, t); } fn main() {}