]> git.lizzy.rs Git - rust.git/blob - tests/ui/nll/issue-54943.stderr
Rollup merge of #106321 - compiler-errors:delayed-bug-backtrace, r=Nilstrieb
[rust.git] / tests / 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