mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
19 lines
389 B
Diff
19 lines
389 B
Diff
- // MIR for `unreachable` before LowerIntrinsics
|
|
+ // MIR for `unreachable` after LowerIntrinsics
|
|
|
|
fn unreachable() -> ! {
|
|
let mut _0: !;
|
|
let _1: ();
|
|
let mut _2: !;
|
|
scope 1 {
|
|
}
|
|
|
|
bb0: {
|
|
StorageLive(_1);
|
|
StorageLive(_2);
|
|
- _2 = std::intrinsics::unreachable() -> unwind unreachable;
|
|
+ unreachable;
|
|
}
|
|
}
|
|
|