blob: 9251c5e2446f3bbda9fd67a7cbf2c998938e285e [file] [log] [blame]
error[E0623]: lifetime mismatch
--> $DIR/ex3-both-anon-regions-2.rs:2:10
|
LL | fn foo(&mut (ref mut v, w): &mut (&u8, &u8), x: &u8) {
| --- --- these two types are declared with different lifetimes...
LL | *v = x;
| ^ ...but data from `x` flows here
error: aborting due to previous error