about summary refs log tree commit diff
path: root/tests/ui/coroutine/delayed-obligations-emit.next.stderr
blob: 3a3663398c9a7934e8bb93102ff082b19b1a79e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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`.