1 error[E0382]: use of moved value: `tx`
2 --> $DIR/issue-12041.rs:8:22
5 | ^^ value moved here, in previous iteration of loop
7 = note: move occurs because `tx` has type `Sender<i32>`, which does not implement the `Copy` trait
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0382`.