blob: c04b5d3a3eb718dc7aa57371f910d1f5fd5654d9 [file] [log] [blame]
fn foo(z: &mut Vec<(&u8,&u8)>, (x, y): (&u8, &u8)) {
z.push((x,y)); //~ ERROR lifetime mismatch
//~^ ERROR lifetime mismatch
}
fn main() { }