rust/tests/mir-opt/issue_72181.bar.built.after.mir
Nadrieril 3e030b38ef Return the otherwise_block instead of passing it as argument
This saves a few blocks and matches the common `unpack!` paradigm.
2024-07-09 22:47:35 +02:00

23 lines
371 B
Rust

// MIR for `bar` after built
fn bar(_1: [(Never, u32); 1]) -> u32 {
let mut _0: u32;
let _2: u32;
scope 1 {
debug x => _2;
}
bb0: {
StorageLive(_2);
_2 = (_1[0 of 1].1: u32);
_0 = _2;
StorageDead(_2);
return;
}
bb1: {
FakeRead(ForMatchedPlace(None), _1);
unreachable;
}
}