errors.fyi community error code reference
E0502
rust

Conflicting Borrow Kinds

A variable was borrowed with one mutability while an active borrow of the opposite mutability still exists. Rust does not permit a mutable borrow to coexist with any other borrow of the same value.

References

← all namespaces