trait Trait { type Bound<'a>; } fn foo() where Trait Bound<'a> = &'a ()> { //~^ ERROR `for<...>` is not allowed on associated type bounds } fn main() {}