You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0507]: cannot move out of captured outer variable in an `FnMut` closure
--> src/main.rs:6:25
|
6 | vec3.iter().map(move |_| {
| ^^^^^^^^ cannot move out of captured outer variable in an `FnMut` closure
which is not very helpful as it does not indicate which variable it is.
It would be nice to have a better hint in this case.
Thanks.
The text was updated successfully, but these errors were encountered:
Hello.
In the following code:
we get the following error:
which is not very helpful as it does not indicate which variable it is.
It would be nice to have a better hint in this case.
Thanks.
The text was updated successfully, but these errors were encountered: