1 2 3 4 5 6 7
fn foo(z: &mut Vec<(&u8,&u8)>, (x, y): (&u8, &u8)) { z.push((x,y)); //~^ ERROR lifetime may not live long enough //~| ERROR lifetime may not live long enough } fn main() { }