trait X { type Y<'a>; } fn f(x: Box = &'a ()>>) {} //~^ ERROR: use of undeclared lifetime name `'a` //~| ERROR: use of undeclared lifetime name `'a` //~| ERROR: the trait `X` is not dyn compatible [E0038] fn main() {}