mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 10:19:00 +00:00
11 lines
240 B
Rust
11 lines
240 B
Rust
//@ 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!();
|
|
}
|