Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
async-with-nonterminal-block.rs
blob: 8604bd383a18047c839a961ca46d642cde433b4c [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
//@ edition:2021
macro_rules
!
create_async
{
(
$body
:
block
)
=>
{
async $body
};
}
async
fn
other
()
{}
fn
main
()
{
let
y
=
create_async
!
{{
other
().
await
;
}};
}