mirror of
https://git.proxmox.com/git/rustc
synced 2025-12-24 14:29:37 +00:00
14 lines
265 B
Rust
14 lines
265 B
Rust
//@ edition:2021
|
|
|
|
#![feature(async_closure)]
|
|
|
|
// Don't ICE in ByMove shim builder when MIR body is tainted by writeback errors
|
|
|
|
fn main() {
|
|
let _ = async || {
|
|
used_fn();
|
|
//~^ ERROR cannot find function `used_fn` in this scope
|
|
0
|
|
};
|
|
}
|