blob: ab4685b07bb0d1b228f44d66fbcc15b8de3719a8 [file] [log] [blame]
//@ edition:2018
fn foo(x: &dyn AsyncFn()) {}
//~^ ERROR the trait `AsyncFnMut` is not dyn compatible
fn main() {}