Source code

Revision control

Copy as Markdown

Other Tools

pub trait Trait {
async fn method(&self);
}
pub struct Struct;
impl Trait for Struct {
async fn method(&self) {}
}
fn main() {
let _: &dyn Trait;
}