errors.fyi community error code reference
E0506
rust

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.

References

← all namespaces