mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
12 lines
237 B
Rust
12 lines
237 B
Rust
![]() |
//@ edition:2021
|
||
|
|
||
|
// 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
|
||
|
};
|
||
|
}
|