mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-03 07:48:41 +08:00
11 lines
394 B
Plaintext
11 lines
394 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`
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|
|
error: could not compile `hello` due to previous error
|