1 error: future cannot be sent between threads safely
2 --> $DIR/missing-send-bound.rs:16:20
4 LL | assert_is_send(test::<T>());
5 | ^^^^^^^^^^^ future returned by `test` is not `Send`
7 = help: within `impl Future<Output = ()>`, the trait `Send` is not implemented for `impl Future<Output = ()>`
8 note: future is not `Send` as it awaits another future which is not `Send`
9 --> $DIR/missing-send-bound.rs:12:5
12 | ^^^^^^^^ await occurs here on type `impl Future<Output = ()>`, which is not `Send`
13 note: required by a bound in `assert_is_send`
14 --> $DIR/missing-send-bound.rs:20:27
16 LL | fn assert_is_send(_: impl Send) {}
17 | ^^^^ required by this bound in `assert_is_send`
19 error: aborting due to previous error