rust/tests/ui/async-await/async-closure-matches-expr.rs

13 lines
152 B
Rust
Raw Normal View History

2019-07-05 12:06:39 -05:00
// build-pass
// edition:2018
2019-08-01 20:45:58 -05:00
#![feature(async_closure)]
macro_rules! match_expr {
($x:expr) => {}
}
fn main() {
match_expr!(async || {});
}