// edition: 2021 #![feature(async_fn_in_trait)] //~^ WARN the feature `async_fn_in_trait` is incomplete and may not be safe to use and/or cause compiler crashes trait A { async fn e() { Ok(()) //~^ ERROR mismatched types //~| HELP consider using a semicolon here } } fn main() {}