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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
154 B
Rust
Raw Normal View History

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