// edition: 2021 #![allow(incomplete_features)] trait Foo { async fn foo(); } impl Foo for () { async fn foo() {} //~^ ERROR: method `foo` has an incompatible generic parameter for trait `Foo` [E0053] } fn main() {}