rust/src/test/ui/async-await/async-closure-matches-expr.rs

13 lines
167 B
Rust
Raw Normal View History

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