rust/tests/ui/associated-inherent-types/regionck-0.stderr

11 lines
288 B
Plaintext

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