//@ edition: 2021 trait Foo { async fn foo(); } impl Foo for () { async fn foo() {} //~^ ERROR: associated function `foo` has an incompatible generic parameter for trait `Foo` [E0053] } fn main() {}