rust/src/test/ui/issues/issue-54943.nll.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
293 B
Plaintext
Raw Normal View History

error: lifetime may not live long enough
2022-05-22 00:02:55 -05:00
--> $DIR/issue-54943.rs:10:13
|
LL | fn boo<'a>() {
| -- lifetime `'a` defined here
...
LL | let x = foo::<&'a u32>();
| ^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`
error: aborting due to previous error