1 error: lifetime may not live long enough
2 --> $DIR/regions-bounds.rs:9:12
4 LL | fn a_fn1<'a,'b>(e: TupleStruct<'a>) -> TupleStruct<'b> {
5 | -- -- lifetime `'b` defined here
7 | lifetime `'a` defined here
9 | ^ returning this value requires that `'a` must outlive `'b`
11 = help: consider adding the following bound: `'a: 'b`
13 error: lifetime may not live long enough
14 --> $DIR/regions-bounds.rs:13:12
16 LL | fn a_fn3<'a,'b>(e: Struct<'a>) -> Struct<'b> {
17 | -- -- lifetime `'b` defined here
19 | lifetime `'a` defined here
21 | ^ returning this value requires that `'a` must outlive `'b`
23 = help: consider adding the following bound: `'a: 'b`
25 error: aborting due to 2 previous errors