1 error: unsatisfied lifetime constraints
2 --> $DIR/regions-free-region-ordering-caller.rs:18: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;//~ ERROR E0623
9 | ^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'a` must outlive `'b`
11 error: unsatisfied lifetime constraints
12 --> $DIR/regions-free-region-ordering-caller.rs:23:12
14 LL | fn call3<'a, 'b>(a: &'a usize, b: &'b usize) {
15 | -- -- lifetime `'b` defined here
17 | lifetime `'a` defined here
18 LL | let y: Paramd<'a> = Paramd { x: a };
19 LL | let z: Option<&'b Paramd<'a>> = None;//~ ERROR E0623
20 | ^^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'a` must outlive `'b`
22 error: unsatisfied lifetime constraints
23 --> $DIR/regions-free-region-ordering-caller.rs:27:12
25 LL | fn call4<'a, 'b>(a: &'a usize, b: &'b usize) {
26 | -- -- lifetime `'b` defined here
28 | lifetime `'a` defined here
29 LL | let z: Option<&'a &'b usize> = None;//~ ERROR E0623
30 | ^^^^^^^^^^^^^^^^^^^^^ type annotation requires that `'b` must outlive `'a`
32 error: aborting due to 3 previous errors