]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/issue-54943.stderr
Rollup merge of #105216 - GuillaumeGomez:rm-unused-gui-test, r=notriddle
[rust.git] / src / test / ui / nll / issue-54943.stderr
1 error: lifetime may not live long enough
2   --> $DIR/issue-54943.rs:6:13
3    |
4 LL | fn boo<'a>() {
5    |        -- lifetime `'a` defined here
6 ...
7 LL |     let x = foo::<&'a u32>();
8    |             ^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`
9
10 error: aborting due to previous error
11