rust · rust/E0506
E0506
Assign to Borrowed Value
An attempt was made to assign a new value to a variable that is currently borrowed. The assignment would invalidate the existing reference, violating Rust's borrowing rules.
An attempt was made to assign a new value to a variable that is currently borrowed. The assignment would invalidate the existing reference, violating Rust's borrowing rules.