mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00
14 lines
192 B
Rust
14 lines
192 B
Rust
![]() |
// compile-pass
|
||
|
// edition:2018
|
||
|
|
||
|
#![feature(async_await, await_macro)]
|
||
|
|
||
|
macro_rules! match_expr {
|
||
|
($x:expr) => {}
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
match_expr!(async {});
|
||
|
match_expr!(async || {});
|
||
|
}
|