mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
22 lines
355 B
Diff
22 lines
355 B
Diff
- // MIR for `f` before Inline
|
|
+ // MIR for `f` after Inline
|
|
|
|
fn f() -> () {
|
|
let mut _0: ();
|
|
let mut _1: !;
|
|
let _2: !;
|
|
+ scope 1 (inlined sleep) {
|
|
+ }
|
|
|
|
bb0: {
|
|
StorageLive(_2);
|
|
- _2 = sleep() -> unwind unreachable;
|
|
+ goto -> bb1;
|
|
+ }
|
|
+
|
|
+ bb1: {
|
|
+ goto -> bb1;
|
|
}
|
|
}
|
|
|