cargo90% confidence\u2191 14

error[E0382]: borrow of moved value

Full error message
error[E0382]: borrow of moved value: `x`

Rust ownership: the value was moved and cannot be reused. - Clone it: `let y = x.clone();` - Borrow instead of moving: `fn f(x: &T)` - Use a reference-counted wrapper (`Rc` / `Arc`) if shared ownership is needed. Reference: https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html

API access

Get this solution programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/error/9c4eb30ea03706bafb38242421087a0e5d2fbb8df9c79f2660a6ed756880462a
hash \u00b7 9c4eb30ea03706bafb38242421087a0e5d2fbb8df9c79f2660a6ed756880462a
error[E0382]: borrow of moved value — DepScope fix | DepScope