]> git.proxmox.com Git - rustc.git/blame - src/doc/book/listings/ch20-web-server/listing-20-22/output.txt
New upstream version 1.63.0+dfsg1
[rustc.git] / src / doc / book / listings / ch20-web-server / listing-20-22 / output.txt
CommitLineData
74b04a01
XL
1$ cargo check
2 Checking hello v0.1.0 (file:///projects/hello)
3error[E0507]: cannot move out of `worker.thread` which is behind a mutable reference
923072b8
FG
4 --> src/lib.rs:52:13
5 |
652 | worker.thread.join().unwrap();
7 | ^^^^^^^^^^^^^ ------ `worker.thread` moved due to this method call
8 | |
9 | move occurs because `worker.thread` has type `JoinHandle<()>`, which does not implement the `Copy` trait
10 |
11note: this function takes ownership of the receiver `self`, which moves `worker.thread`
74b04a01 12
74b04a01 13For more information about this error, try `rustc --explain E0507`.
c295e0f8 14error: could not compile `hello` due to previous error