Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
async-await
/
async-fn
/
trait-bounds-in-macro.rs
blob: 654883966f403ea663eb2d3388e7c7e0d7d354d5 [
file
] [
log
] [
blame
]
//@ edition: 2021
macro_rules
!
x
{
(
$x
:
item
)
=>
{}
}
x
!
{
async
fn
foo
()
->
impl
async
Fn
()
{
}
//~^ ERROR `async` trait bounds are unstable
}
fn
main
()
{}