blob: f72533d42e1fac0af149bac595366154954c2f03 (
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` not allowed outside of function and method return types
//~| expected identifier
1
}],
}
fn main() {}
|