You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address the case where both the regions are anonymous.
Driving example for this case is
12 | fn foo(x: &mut Vec<&u8>, y:&u8) {
| --- --- these references must have the same lifetime
13 |
14 | x.push(y);
| ^ data from `y` flows into `x` here