fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

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