1 error[E0310]: the parameter type `T` may not live long enough
2 --> $DIR/regions-close-param-into-object.rs:6:5
7 = help: consider adding an explicit lifetime bound `T: 'static`...
9 error[E0310]: the parameter type `T` may not live long enough
10 --> $DIR/regions-close-param-into-object.rs:12:5
15 = help: consider adding an explicit lifetime bound `T: 'static`...
17 error[E0309]: the parameter type `T` may not live long enough
18 --> $DIR/regions-close-param-into-object.rs:18:5
23 = help: consider adding an explicit lifetime bound `T: 'a`...
25 error[E0309]: the parameter type `T` may not live long enough
26 --> $DIR/regions-close-param-into-object.rs:24:5
31 = help: consider adding an explicit lifetime bound `T: 'a`...
33 error: aborting due to 4 previous errors
35 Some errors have detailed explanations: E0309, E0310.
36 For more information about an error, try `rustc --explain E0309`.