]>
Commit | Line | Data |
---|---|---|
48663c56 XL |
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 |