1 error: future cannot be sent between threads safely
2 --> $DIR/issue-67252-unnamed-future.rs:21:11
6 LL | | let a = std::ptr::null_mut::<()>(); // `*mut ()` is not `Send`
10 | |_____^ future created by async block is not `Send`
12 = help: within `[async block@$DIR/issue-67252-unnamed-future.rs:21:11: 25:6]`, the trait `Send` is not implemented for `*mut ()`
13 note: future is not `Send` as this value is used across an await
14 --> $DIR/issue-67252-unnamed-future.rs:23:16
16 LL | let a = std::ptr::null_mut::<()>(); // `*mut ()` is not `Send`
17 | - has type `*mut ()` which is not `Send`
19 | ^^^^^^ await occurs here, with `a` maybe used later
22 | - `a` is later dropped here
23 note: required by a bound in `spawn`
24 --> $DIR/issue-67252-unnamed-future.rs:9:13
26 LL | fn spawn<T: Send>(_: T) {}
27 | ^^^^ required by this bound in `spawn`
29 error: aborting due to previous error