]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-26217.nll.stderr
Rollup merge of #60492 - acrrd:issues/54054_chain, r=SimonSapin
[rust.git] / src / test / ui / issues / issue-26217.nll.stderr
1 error: lifetime may not live long enough
2   --> $DIR/issue-26217.rs:4:5
3    |
4 LL | fn bar<'a>() {
5    |        -- lifetime `'a` defined here
6 LL |     foo::<&'a i32>();
7    |     ^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`
8
9 error: aborting due to previous error
10