1 #![feature(generic_associated_types)]
2 //~^ WARNING: the feature `generic_associated_types` is incomplete
6 //~^ ERROR this associated type
7 //~| ERROR this associated type
10 fn foo<'a>(arg: Box<dyn X<Y('a) = &'a ()>>) {}
11 //~^ ERROR: lifetime in trait object type must be followed by `+`
12 //~| ERROR: parenthesized generic arguments cannot be used
13 //~| WARNING: trait objects without an explicit `dyn` are deprecated