fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
347 B13 linesraw
1error: lifetime may not live long enough
2  --> $DIR/issue-54943.rs:6:13
3   |
4LL | fn boo<'a>() {
5   |        -- lifetime `'a` defined here
6...
7LL |     let x = foo::<&'a u32>();
8   |             ^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`
9   |
10   = help: consider replacing `'a` with `'static`
11
12error: aborting due to previous error
13