rust/tests/ui/async-await/no-params-non-move-async-closure.rs
2024-02-16 20:02:50 +00:00

9 lines
105 B
Rust

//@ edition:2018
//@ check-pass
#![feature(async_closure)]
fn main() {
let _ = async |x: u8| {};
}