We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MIR borrowck allows for immutable unique closure upvars to be mutated, e.g.
fn main() { let x = 0; (move || { x = 1; // mutating immutable local, ok on MIR, bad on AST })() }