mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
a277c901d9
This also remove safety information from MIR.
17 lines
365 B
Diff
17 lines
365 B
Diff
- // MIR for `unreachable` before LowerIntrinsics
|
|
+ // MIR for `unreachable` after LowerIntrinsics
|
|
|
|
fn unreachable() -> ! {
|
|
let mut _0: !;
|
|
let _1: ();
|
|
let mut _2: !;
|
|
|
|
bb0: {
|
|
StorageLive(_1);
|
|
StorageLive(_2);
|
|
- _2 = std::intrinsics::unreachable() -> unwind unreachable;
|
|
+ unreachable;
|
|
}
|
|
}
|
|
|