rust · rust/E0500
E0500
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.
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.