fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0310]: the parameter type `T` may not live long enough 2 --> $DIR/regions-close-param-into-object.rs:6:5 3 | 4LL | Box::new(v) 5 | ^^^^^^^^^^^ 6 | 7 = help: consider adding an explicit lifetime bound `T: 'static`... 8 9error[E0310]: the parameter type `T` may not live long enough 10 --> $DIR/regions-close-param-into-object.rs:12:5 11 | 12LL | Box::new(v) 13 | ^^^^^^^^^^^ 14 | 15 = help: consider adding an explicit lifetime bound `T: 'static`... 16 17error[E0309]: the parameter type `T` may not live long enough 18 --> $DIR/regions-close-param-into-object.rs:18:5 19 | 20LL | Box::new(v) 21 | ^^^^^^^^^^^ 22 | 23 = help: consider adding an explicit lifetime bound `T: 'a`... 24 25error[E0309]: the parameter type `T` may not live long enough 26 --> $DIR/regions-close-param-into-object.rs:24:5 27 | 28LL | Box::new(v) 29 | ^^^^^^^^^^^ 30 | 31 = help: consider adding an explicit lifetime bound `T: 'a`... 32 33error: aborting due to 4 previous errors 34 35Some errors have detailed explanations: E0309, E0310. 36For more information about an error, try `rustc --explain E0309`.