// compile-flags: -Znext-solver trait Foo { type Assoc; } trait Bar {} fn needs_bar() {} fn test::Assoc>>() { needs_bar::(); //~^ ERROR overflow evaluating the requirement `::Assoc: Bar` //~| ERROR overflow evaluating the requirement `::Assoc` [E0275] } fn main() {}