| error[E0623]: lifetime mismatch |
| --> $DIR/ex3-both-anon-regions-4.rs:12:13 |
| | |
| 11 | fn foo(z: &mut Vec<(&u8,&u8)>, (x, y): (&u8, &u8)) { |
| | --- --- these references are declared with different lifetimes... |
| 12 | z.push((x,y)); |
| | ^ ...but data flows into `z` here |
| |
| error[E0623]: lifetime mismatch |
| --> $DIR/ex3-both-anon-regions-4.rs:12:15 |
| | |
| 11 | fn foo(z: &mut Vec<(&u8,&u8)>, (x, y): (&u8, &u8)) { |
| | --- --- these references are declared with different lifetimes... |
| 12 | z.push((x,y)); |
| | ^ ...but data flows into `z` here |
| |
| error: aborting due to 2 previous errors |
| |