blob: 96015fd5d82de0ffa061cba7f4b0583cae83f0cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// check-pass
// edition:2021
macro_rules! create_async {
($body:block) => {
async $body
};
}
async fn other() {}
fn main() {
let y = create_async! {{
other().await;
}};
}
|