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