1 error[E0382]: use of moved value: `state`
2 --> $DIR/issue-101119.rs:7:14
4 LL | fn fill_memory_blocks_mt(state: &mut State) {
5 | ----- move occurs because `state` has type `&mut State`, which does not implement the `Copy` trait
8 | ^^^^^^^ value moved into closure here, in previous iteration of loop
10 LL | fill_segment(state);
11 | ----- use occurs due to use in closure
13 error: aborting due to 1 previous error
15 For more information about this error, try `rustc --explain E0382`.