struct Bug { V1: [(); { let f: impl core::future::Future = async { 1 }; //~^ `impl Trait` only allowed in function and inherent method argument and return types //~| expected identifier 1 }], } fn main() {}