]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12041.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-12041.stderr
1 error[E0382]: use of moved value: `tx`
2   --> $DIR/issue-12041.rs:8:22
3    |
4 LL |             let tx = tx;
5    |                      ^^ value moved here, in previous iteration of loop
6    |
7    = note: move occurs because `tx` has type `Sender<i32>`, which does not implement the `Copy` trait
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0382`.