1 error[E0382]: use of moved value: `a`
2 --> $DIR/issue-75904-move-closure-loop.rs:10:9
4 LL | let mut a = NotCopy;
5 | ----- move occurs because `a` has type `NotCopy`, which does not implement the `Copy` trait
8 | ^^ value moved into closure here, in previous iteration of loop
11 | - use occurs due to use in closure
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0382`.