summaryrefslogtreecommitdiffstats
path: root/src/doc/book/listings/ch20-web-server/no-listing-02-impl-threadpool-new/output.txt
blob: 44c8f3953b4133d1cab7c99d223658cd0a8259f1 (plain)
1
2
3
4
5
6
7
8
9
10
$ cargo check
    Checking hello v0.1.0 (file:///projects/hello)
error[E0599]: no method named `execute` found for struct `ThreadPool` in the current scope
  --> src/main.rs:17:14
   |
17 |         pool.execute(|| {
   |              ^^^^^^^ method not found in `ThreadPool`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `hello` due to previous error