Error code E0595
Note: this error code is no longer emitted by the compiler.
Closures cannot mutate immutable captured variables.
Erroneous code example:
ⓘ
Make the variable binding mutable:
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Closures cannot mutate immutable captured variables.
Erroneous code example:
ⓘ
Make the variable binding mutable: