1 error: lifetime may not live long enough
2 --> $DIR/regions-free-region-ordering-caller.rs:8:12
4 LL | fn call2<'a, 'b>(a: &'a usize, b: &'b usize) {
5 | -- -- lifetime `'b` defined here
7 | lifetime `'a` defined here
8 LL | let z: Option<&'b &'a usize> = None;
9 | ^^^^^^^^^^^^^^^^^^^^^ 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-free-region-ordering-caller.rs:14:12
16 LL | fn call3<'a, 'b>(a: &'a usize, b: &'b usize) {
17 | -- -- lifetime `'b` defined here
19 | lifetime `'a` defined here
20 LL | let y: Paramd<'a> = Paramd { x: a };
21 LL | let z: Option<&'b Paramd<'a>> = None;
22 | ^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'b`
24 = help: consider adding the following bound: `'a: 'b`
26 error: lifetime may not live long enough
27 --> $DIR/regions-free-region-ordering-caller.rs:19:12
29 LL | fn call4<'a, 'b>(a: &'a usize, b: &'b usize) {
30 | -- -- lifetime `'b` defined here
32 | lifetime `'a` defined here
33 LL | let z: Option<&'a &'b usize> = None;
34 | ^^^^^^^^^^^^^^^^^^^^^ requires that `'b` must outlive `'a`
36 = help: consider adding the following bound: `'b: 'a`
38 error: aborting due to 3 previous errors