]> git.proxmox.com Git - rustc.git/blame - src/doc/book/listings/ch20-web-server/no-listing-01-define-threadpool-struct/output.txt
New upstream version 1.50.0+dfsg1
[rustc.git] / src / doc / book / listings / ch20-web-server / no-listing-01-define-threadpool-struct / output.txt
CommitLineData
74b04a01
XL
1$ cargo check
2 Checking hello v0.1.0 (file:///projects/hello)
fc512014 3error[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 |
611 | let pool = ThreadPool::new(4);
fc512014 7 | ^^^ function or associated item not found in `ThreadPool`
74b04a01
XL
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0599`.
fc512014 12error: could not compile `hello`
74b04a01
XL
13
14To learn more, run the command again with --verbose.