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