//@ compile-flags: -Znext-solver trait Trait { type Assoc; } fn test_poly() { let x: ::Assoc = (); //~^ ERROR the trait bound `T: Trait` is not satisfied } fn test() { let x: ::Assoc = (); //~^ ERROR the trait bound `i32: Trait` is not satisfied } fn main() {}