summary refs log tree commit diff
path: root/src/test/ui/issue-54943.stderr
blob: aa68177bcdb58dd5a268d92d21192e24f5620181 (plain)
1
2
3
4
5
6
7
8
9
10
11
error: lifetime may not live long enough
  --> $DIR/issue-54943.rs:9: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