mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
18 lines
240 B
Rust
18 lines
240 B
Rust
// MIR for `assert_nonzero` after built
|
|
|
|
fn assert_nonzero(_1: i32) -> () {
|
|
let mut _0: ();
|
|
|
|
bb0: {
|
|
switchInt(_1) -> [0: bb1, otherwise: bb2];
|
|
}
|
|
|
|
bb1: {
|
|
unreachable;
|
|
}
|
|
|
|
bb2: {
|
|
return;
|
|
}
|
|
}
|