2025-01-18 23:40:27 +00:00
|
|
|
error[E0106]: missing lifetime specifier
|
|
|
|
|
--> $DIR/do-not-ice-on-invalid-lifetime.rs:3:12
|
|
|
|
|
|
|
|
|
|
|
LL | x: Vec<A> = Vec::new(),
|
|
|
|
|
| ^ expected named lifetime parameter
|
|
|
|
|
|
|
|
|
|
|
help: consider using the `'a` lifetime
|
|
|
|
|
|
|
|
|
|
|
LL | x: Vec<A<'a>> = Vec::new(),
|
|
|
|
|
| ++++
|
|
|
|
|
|
2025-03-03 05:14:52 +00:00
|
|
|
error: aborting due to 1 previous error
|
2025-01-18 23:40:27 +00:00
|
|
|
|
2025-03-03 05:14:52 +00:00
|
|
|
For more information about this error, try `rustc --explain E0106`.
|