// compile-flags: -Ztrait-solver=next trait Foo { type Assoc; } trait Bar {} fn needs_bar() {} fn test::Assoc>>() { needs_bar::(); //~^ ERROR overflow evaluating the requirement `::Assoc: Bar` } fn main() {}