blob: da53594f3d091a547a3a6c80268d1b68be1ed9b8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
struct Bug {
V1: [(); {
let f: impl core::future::Future<Output = u8> = async { 1 };
//~^ `impl Trait` only allowed in function and inherent method return types
//~| expected identifier
1
}],
}
fn main() {}
|