1 #### Note: this error code is no longer emitted by the compiler.
3 Closures cannot mutate immutable captured variables.
5 Erroneous code example:
8 let x = 3; // error: closure cannot assign to immutable local variable `x`
9 let mut c = || { x += 1 };
12 Make the variable binding mutable:
16 let mut c = || { x += 1 };