struct Hello<'a> { value: Box, //~^ ERROR lifetime bound not satisfied } impl<'a> Hello<'a> { fn new(value: T) -> Self { Self { value: Box::new(value) } //~^ ERROR the parameter type `T` may not live long enough } } fn main() {}