blob: a8b063821e4faac78d32f3e7c708db9697c58e68 [file] [log] [blame] [edit]
//@ check-pass
//@ edition:2018
use std::sync::Arc;
trait SomeTrait: Send + Sync + 'static {
fn do_something(&self);
}
async fn my_task(obj: Arc<dyn SomeTrait>) {
unimplemented!()
}
fn main() {}