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