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
However, it's probably a wise idea to limit reservations to assignments to temporaries. I don't think
MIR construction ever does anything else, but you shouldn't be able to do this:
letmut a = 0;letmut b = 0;letmut x:&mutu32 = &mut a;let y = &mut x;*y = &mut b;// this borrow should be active// look at me, no use of `*y`, but:use(x,&b);// should be illegal