3 #![feature(async_fn_in_trait)]
4 //~^ WARN the feature `async_fn_in_trait` is incomplete and may not be safe to use and/or cause compiler crashes
7 async fn foo<'a>(&self);
11 impl MyTrait for i32 {
12 async fn foo(&self) {}
13 //~^ ERROR lifetime parameters or bounds on method `foo` do not match the trait declaration