blob: 0aff80c6fbdd3c3fb3f316c75ea0f8a940e7a597 [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
For more information about this error, try `rustc --explain E0623`.