]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-54943.nll.stderr
Rollup merge of #89528 - FabianWolff:issue-89497, r=jackh726
[rust.git] / src / test / ui / issues / issue-54943.nll.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