1 error: lifetime may not live long enough
2 --> $DIR/ex3-both-anon-regions.rs:2:5
4 LL | fn foo(x: &mut Vec<&u8>, y: &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>(x: &mut Vec<&'a u8>, y: &'a u8) {
16 error: aborting due to previous error