We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
compile-fail
stderr
1 parent 05404ba commit 9aafd84Copy full SHA for 9aafd84
tests/compile-fail/socket-thread-unsafe.stderr
@@ -23,9 +23,3 @@ note: required because it's used within this closure
23
| ^^^^^^^
24
note: required by a bound in `spawn`
25
--> $RUST/std/src/thread/mod.rs
26
- |
27
- | pub fn spawn<F, T>(f: F) -> JoinHandle<T>
28
- | ----- required by a bound in this function
29
-...
30
- | F: Send + 'static,
31
- | ^^^^ required by this bound in `spawn`
0 commit comments