rust-book-cn/listings/ch20-web-server/listing-20-12/output.txt
2021-05-09 14:49:31 +08:00

15 lines
465 B
Plaintext

$ cargo check
Checking hello v0.1.0 (file:///projects/hello)
error[E0433]: failed to resolve: use of undeclared type `ThreadPool`
--> src/main.rs:10:16
|
10 | let pool = ThreadPool::new(4);
| ^^^^^^^^^^ use of undeclared type `ThreadPool`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0433`.
error: could not compile `hello`
To learn more, run the command again with --verbose.