Rust RFC: Stronger guarantees for mutable borrows

from blog baby steps, | ↗ original
Today, if you do a mutable borrow of a local variable, you lose the ability to write to that variable except through the new reference you just created: let mut x = 3; let p = &mut x; x += 1; // Error *p += 1; // OK However, you retain the ability to read the original variable: let mut x = 3; let p = &mut x; print(x); // OK print(*p); // OK I...