1 error: lifetime may not live long enough
2 --> $DIR/ex3-both-anon-regions-3.rs:2:5
4 LL | fn foo(z: &mut Vec<(&u8,&u8)>, (x, y): (&u8, &u8)) {
5 | - - let's call the lifetime of this reference `'1`
7 | let's call the lifetime of this reference `'2`
9 | ^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2`
11 help: consider introducing a named lifetime parameter
13 LL | fn foo<'a>(z: &mut Vec<(&'a u8,&u8)>, (x, y): (&'a u8, &u8)) {
16 error: lifetime may not live long enough
17 --> $DIR/ex3-both-anon-regions-3.rs:2:5
19 LL | fn foo(z: &mut Vec<(&u8,&u8)>, (x, y): (&u8, &u8)) {
20 | - - let's call the lifetime of this reference `'3`
22 | let's call the lifetime of this reference `'4`
24 | ^^^^^^^^^^^^^ argument requires that `'3` must outlive `'4`
26 help: consider introducing a named lifetime parameter
28 LL | fn foo<'a>(z: &mut Vec<(&u8,&'a u8)>, (x, y): (&u8, &'a u8)) {
31 error: aborting due to 2 previous errors