mirror of https://github.com/rust-lang/rust.git
16 lines
564 B
Plaintext
16 lines
564 B
Plaintext
error[E0275]: overflow evaluating the requirement `{async block@$DIR/delayed-obligations-emit.rs:17:11: 17:16}: Send`
|
|
--> $DIR/delayed-obligations-emit.rs:17:5
|
|
|
|
|
LL | spawn(async { build_dependencies().await });
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: required by a bound in `spawn`
|
|
--> $DIR/delayed-obligations-emit.rs:31:13
|
|
|
|
|
LL | fn spawn<F: Send>(_: F) {}
|
|
| ^^^^ required by this bound in `spawn`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0275`.
|