]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-matches-expr.rs
Auto merge of #60065 - QuietMisdreavus:async-move-doctests, r=ollie27
[rust.git] / src / test / ui / async-matches-expr.rs
1 // compile-pass
2 // edition:2018
3
4 #![feature(async_await, await_macro)]
5
6 macro_rules! match_expr {
7     ($x:expr) => {}
8 }
9
10 fn main() {
11     match_expr!(async {});
12     match_expr!(async || {});
13 }