1 error: generator cannot be sent between threads safely
2 --> $DIR/issue-67893.rs:9:7
4 LL | g(issue_67893::run())
5 | ^^^^^^^^^^^^^^^^^^ generator is not `Send`
7 = help: within `impl Future<Output = ()>`, the trait `Send` is not implemented for `MutexGuard<'_, ()>`
8 note: required by a bound in `g`
9 --> $DIR/issue-67893.rs:6:14
11 LL | fn g(_: impl Send) {}
12 | ^^^^ required by this bound in `g`
14 error: aborting due to previous error