11 lines
248 B
Rust
11 lines
248 B
Rust
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() {}
|