blob: c0fb431bf391eb487096d98afc66ce08152d3315 [file] [log] [blame] [edit]
pub trait Trait {
async fn method(&self);
}
pub struct Struct;
impl Trait for Struct {
async fn method(&self) {}
}
fn main() {
let _: &dyn Trait;
}