blob: 349a875d4a6c4321ee647fb177b5063674b2ba10 [file] [edit]
//@ edition:2018
struct F;
impl async Fn<()> for F {}
//~^ ERROR `async` trait implementations are unsupported
//~| ERROR the precise format of `Fn`-family traits' type parameters is subject to change
//~| ERROR manual implementations of `Fn` are experimental
//~| ERROR expected an `FnMut()` closure, found `F`
//~| ERROR not all trait items implemented, missing: `call`
fn main() {}