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
I believe this is a dupe of #16205, which was fixed very recently by #16458 (just after the nightly compiler you are using); the compiler now correctly emits an error message, http://is.gd/dtQa8z
<anon>:6:9: 6:11 error: cannot move out of dereference of `&`-pointer
<anon>:6 for &x in vector.iter() {
^~
<anon>:6:10: 6:11 note: attempting to move value to here (to prevent the move, use `ref x` or `ref mut x` to capture value by reference)
<anon>:6 for &x in vector.iter() {
^
The text was updated successfully, but these errors were encountered: