1 warning: not reporting region error due to nll
2 --> $DIR/ex3-both-anon-regions-3.rs:12:13
4 LL | z.push((x,y)); //~ ERROR lifetime mismatch
7 warning: not reporting region error due to nll
8 --> $DIR/ex3-both-anon-regions-3.rs:12:15
10 LL | z.push((x,y)); //~ ERROR lifetime mismatch
13 error: unsatisfied lifetime constraints
14 --> $DIR/ex3-both-anon-regions-3.rs:12:5
16 LL | fn foo(z: &mut Vec<(&u8,&u8)>, (x, y): (&u8, &u8)) {
17 | - - let's call the lifetime of this reference `'1`
19 | let's call the lifetime of this reference `'2`
20 LL | z.push((x,y)); //~ ERROR lifetime mismatch
21 | ^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2`
23 error: unsatisfied lifetime constraints
24 --> $DIR/ex3-both-anon-regions-3.rs:12:5
26 LL | fn foo(z: &mut Vec<(&u8,&u8)>, (x, y): (&u8, &u8)) {
27 | - - let's call the lifetime of this reference `'1`
29 | let's call the lifetime of this reference `'2`
30 LL | z.push((x,y)); //~ ERROR lifetime mismatch
31 | ^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2`
33 error: aborting due to 2 previous errors