rust/tests/ui/async-await/async-closure-matches-expr.rs
2024-02-16 20:02:50 +00:00

13 lines
154 B
Rust

//@ build-pass
//@ edition:2018
#![feature(async_closure)]
macro_rules! match_expr {
($x:expr) => {}
}
fn main() {
match_expr!(async || {});
}