1 error[E0310]: the parameter type `A` may not live long enough
2 --> $DIR/regions-close-over-type-parameter-1.rs:12:5
4 LL | box v as Box<dyn SomeTrait + 'static>
7 = help: consider adding an explicit lifetime bound `A: 'static`...
9 error[E0309]: the parameter type `A` may not live long enough
10 --> $DIR/regions-close-over-type-parameter-1.rs:21:5
12 LL | box v as Box<dyn SomeTrait + 'b>
15 = help: consider adding an explicit lifetime bound `A: 'b`...
17 error: aborting due to 2 previous errors
19 Some errors have detailed explanations: E0309, E0310.
20 For more information about an error, try `rustc --explain E0309`.