E0507
rust Move Out of Borrow
An attempt was made to move a value out of a borrowed reference. Borrowing grants temporary access but not ownership, so the value cannot be moved elsewhere while it is borrowed.
An attempt was made to move a value out of a borrowed reference. Borrowing grants temporary access but not ownership, so the value cannot be moved elsewhere while it is borrowed.