blob: 5e110b43fb4a8040ffa9d0c5d0246052ed03ea58 [file] [log] [blame]
error[E0623]: lifetime mismatch
--> $DIR/ex3-both-anon-regions-2.rs:12: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; //~ ERROR lifetime mismatch
| ^ ...but data from `x` flows here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0623`.