error: rustc_outlives
--> $DIR/nested-structs.rs:4:1
|
LL | struct Foo<'a, T> {
| ^^^^^^^^^^^^^^^^^
= note: T: 'a
error: aborting due to 1 previous error