blob: e42d9d6e36adea3fe8102564a8c22cf680012633 [file] [log] [blame] [edit]
//@ 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
};
}