Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
async-await
/
async-closures
/
mac-body.rs
blob: 51c077ba03fb8ad9d26bde8b8c632a9d535117fb [
file
] [
log
] [
blame
]
//@ edition: 2021
//@ check-pass
// Make sure we don't ICE if an async closure has a macro body.
// This happened because we were calling walk instead of visit
// in the def collector, oops!
fn
main
()
{
let
_
=
async
||
println
!();
}