]> git.lizzy.rs Git - rust.git/blobdiff - src/test/mir-opt/issue_38669.main.SimplifyCfg-initial.after.mir
Rollup merge of #99084 - RalfJung:write_bytes, r=thomcc
[rust.git] / src / test / mir-opt / issue_38669.main.SimplifyCfg-initial.after.mir
index d4fe82cc99f67bad28c9ab07cb0fb959cb2fa316..a2471e4308b0171169deb8cb78fc8ac833ea0cf7 100644 (file)
@@ -9,8 +9,6 @@ fn main() -> () {
     let mut _5: !;                       // in scope 0 at $DIR/issue-38669.rs:7:25: 9:10
     scope 1 {
         debug should_break => _1;        // in scope 1 at $DIR/issue-38669.rs:5:9: 5:25
-        scope 2 {
-        }
     }
 
     bb0: {
@@ -26,13 +24,13 @@ fn main() -> () {
 
     bb2: {
         StorageLive(_3);                 // scope 1 at $DIR/issue-38669.rs:7:9: 9:10
-        StorageLive(_4);                 // scope 2 at $DIR/issue-38669.rs:7:12: 7:24
-        _4 = _1;                         // scope 2 at $DIR/issue-38669.rs:7:12: 7:24
-        switchInt(move _4) -> [false: bb4, otherwise: bb3]; // scope 2 at $DIR/issue-38669.rs:7:12: 7:24
+        StorageLive(_4);                 // scope 1 at $DIR/issue-38669.rs:7:12: 7:24
+        _4 = _1;                         // scope 1 at $DIR/issue-38669.rs:7:12: 7:24
+        switchInt(move _4) -> [false: bb4, otherwise: bb3]; // scope 1 at $DIR/issue-38669.rs:7:12: 7:24
     }
 
     bb3: {
-        _0 = const ();                   // scope 2 at $DIR/issue-38669.rs:8:13: 8:18
+        _0 = const ();                   // scope 1 at $DIR/issue-38669.rs:8:13: 8:18
         StorageDead(_4);                 // scope 1 at $DIR/issue-38669.rs:9:9: 9:10
         StorageDead(_3);                 // scope 1 at $DIR/issue-38669.rs:9:9: 9:10
         StorageDead(_1);                 // scope 0 at $DIR/issue-38669.rs:12:1: 12:2