blob: 5bf6d3382d2eb85c5c14515973a2e5b4a631fa5d [file] [log] [blame]
error: lifetime may not live long enough
--> $DIR/issue-54943.rs:6:13
|
LL | fn boo<'a>() {
| -- lifetime `'a` defined here
...
LL | let x = foo::<&'a u32>();
| ^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`
|
= help: consider replacing `'a` with `'static`
error: aborting due to previous error