1 error[E0623]: lifetime mismatch
2 --> $DIR/regions-free-region-ordering-caller.rs:20:12
4 LL | fn call2<'a, 'b>(a: &'a usize, b: &'b usize) {
7 | these two types are declared with different lifetimes...
8 LL | let z: Option<&'b &'a usize> = None;//~ ERROR E0623
9 | ^^^^^^^^^^^^^^^^^^^^^ ...but data from `a` flows into `b` here
11 error[E0623]: lifetime mismatch
12 --> $DIR/regions-free-region-ordering-caller.rs:25:12
14 LL | fn call3<'a, 'b>(a: &'a usize, b: &'b usize) {
17 | these two types are declared with different lifetimes...
18 LL | let y: Paramd<'a> = Paramd { x: a };
19 LL | let z: Option<&'b Paramd<'a>> = None;//~ ERROR E0623
20 | ^^^^^^^^^^^^^^^^^^^^^^ ...but data from `a` flows into `b` here
22 error[E0623]: lifetime mismatch
23 --> $DIR/regions-free-region-ordering-caller.rs:29:12
25 LL | fn call4<'a, 'b>(a: &'a usize, b: &'b usize) {
26 | --------- --------- these two types are declared with different lifetimes...
27 LL | let z: Option<&'a &'b usize> = None;//~ ERROR E0623
28 | ^^^^^^^^^^^^^^^^^^^^^ ...but data from `b` flows into `a` here
30 error: aborting due to 3 previous errors
32 For more information about this error, try `rustc --explain E0623`.