blob: 3a438ee630e1e3eea1f0facfd8713a1a50f01df0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: lifetime may not live long enough
--> $DIR/regionck-0.rs:11:12
|
LL | fn user<'a>() {
| -- lifetime `'a` defined here
LL | let _: S::<&'a ()>::T;
| ^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`
error: aborting due to previous error
|