// Check that we validate associated type bounds for trait objects trait X { type Y: Clone; } fn f() { None::.clone(); } fn main() { f::>(); //~^ ERROR the trait bound `str: Clone` is not satisfied }