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