Closed
Description
use core::future::Future;
use core::pin::Pin;
// expected Pin<Box<dyn Future<Output = ()> + Send, Global>>, found Pin<Box<impl Future<Output = ()>, Global>>
fn send() -> Pin<Box<dyn Future<Output = ()> + Send + 'static>> {
Box::pin(async move {})
}
// expected Pin<Box<dyn Future<Output = ()>, Global>>, found Pin<Box<impl Future<Output = ()>, Global>>
fn not_send() -> Pin<Box<dyn Future<Output = ()> + 'static>> {
Box::pin(async move {})
}
high priority as this affects all uses of async_trait