|
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 1 previous error
|
|
|