]>
Commit | Line | Data |
---|---|---|
74b04a01 XL |
1 | $ cargo check |
2 | Checking hello v0.1.0 (file:///projects/hello) | |
fc512014 | 3 | error[E0599]: no function or associated item named `new` found for struct `ThreadPool` in the current scope |
74b04a01 XL |
4 | --> src/bin/main.rs:11:28 |
5 | | | |
6 | 11 | let pool = ThreadPool::new(4); | |
fc512014 | 7 | | ^^^ function or associated item not found in `ThreadPool` |
74b04a01 XL |
8 | |
9 | error: aborting due to previous error | |
10 | ||
11 | For more information about this error, try `rustc --explain E0599`. | |
fc512014 | 12 | error: could not compile `hello` |
74b04a01 XL |
13 | |
14 | To learn more, run the command again with --verbose. |