fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
492 B19 linesraw
1error[E0309]: the parameter type `T` may not live long enough
2  --> $DIR/ty-param-fn.rs:11:5
3   |
4LL |     x
5   |     ^
6   |
7   = help: consider adding an explicit lifetime bound `T: 'a`...
8
9error[E0309]: the parameter type `T` may not live long enough
10  --> $DIR/ty-param-fn.rs:26:5
11   |
12LL |     x
13   |     ^
14   |
15   = help: consider adding an explicit lifetime bound `T: 'a`...
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0309`.