2018-04-18 21:26:21 -05:00
|
|
|
error: rustc_outlives
|
2018-08-27 23:46:08 -05:00
|
|
|
--> $DIR/self-structs.rs:14:1
|
2018-04-18 21:26:21 -05:00
|
|
|
|
|
2018-08-27 23:46:08 -05:00
|
|
|
LL | / struct Foo<'a, 'b, T> { //~ ERROR 14:1: 16:2: rustc_outlives
|
2018-04-18 21:26:21 -05:00
|
|
|
LL | | field1: Bar<'a, 'b, T>
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
|
= note: T : 'a
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|