error[E0382]: use of moved value: `message` | |
--> $DIR/liveness-use-after-send.rs:16:20 | |
| | |
LL | send(ch, message); | |
| ------- value moved here | |
LL | println!("{}", message); | |
| ^^^^^^^ value used here after move | |
| | |
= note: move occurs because `message` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0382`. |