errors.fyi community error code reference
E0500
rust

Closure Borrows Borrowed Variable

A closure captures a variable that is already borrowed elsewhere in the enclosing scope. The conflicting borrow must end before the closure can capture the same variable.

References

โ† all namespaces for E0500