// edition: 2021 #![feature(return_type_notation, async_fn_in_trait)] //~^ WARN the feature `return_type_notation` is incomplete //~| WARN the feature `async_fn_in_trait` is incomplete trait Trait { async fn method() {} } fn bar>() {} //~^ ERROR cannot find associated function `methid` in trait `Trait` fn main() {}