mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-02 15:28:40 +08:00
15 lines
465 B
Plaintext
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.
|