mirror of https://github.com/rust-lang/rust
12 lines
345 B
Plaintext
12 lines
345 B
Plaintext
error: lifetime may not live long enough
|
|
--> $DIR/generic-associated-types-bad.rs:26:12
|
|
|
|
|
LL | fn user<'a>() {
|
|
| -- lifetime `'a` defined here
|
|
LL | #[cfg(region)]
|
|
LL | let _: Ty::Static<&'a str> = "";
|
|
| ^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`
|
|
|
|
error: aborting due to 1 previous error
|
|
|