1 error: future cannot be sent between threads safely
2 --> $DIR/issue-86507.rs:17:13
9 | |_____________^ future created by async block is not `Send`
11 note: captured value is not `Send` because `&` references cannot be sent unless their referent is `Sync`
12 --> $DIR/issue-86507.rs:19:29
15 | ^ has type `&T` which is not `Send`, because `T` is not `Sync`
16 = note: required for the cast from `impl Future<Output = ()>` to the object type `dyn Future<Output = ()> + Send`
17 help: consider further restricting this bound
19 LL | fn bar<'me, 'async_trait, T: Send + std::marker::Sync>(x: &'me T)
22 error: aborting due to previous error