Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
async-await
/
async-fn
/
trait-bounds-in-macro.rs
blob: 329a1528e8b4fbbfaa25376dc118e27c10b595c2 [
file
] [
log
] [
blame
] [
edit
]
//@ edition: 2021
macro_rules
!
x
{
(
$x
:
item
)
=>
{}
}
x
!
{
async
fn
foo
()
->
impl
async
Fn
()
{
}
//~^ ERROR async closures are unstable
}
fn
main
()
{}