about summary refs log tree commit diff
path: root/src/test/mir-opt/issue_73223.main.PreCodegen.64bit.diff
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2020-09-21 07:13:34 +0300
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2020-10-21 04:43:56 +0300
commit387e31c9a7e6f7df3da513e2241a03e0b738ea4d (patch)
treecec026e2b65894b72c5c5f431df3bbd7d44e53db /src/test/mir-opt/issue_73223.main.PreCodegen.64bit.diff
parent6451b39a25fbad9e991c6ea014a86217c52d3fd6 (diff)
rustc_mir: properly map scope parent chains into the caller when inlining.
Diffstat (limited to 'src/test/mir-opt/issue_73223.main.PreCodegen.64bit.diff')
-rw-r--r--src/test/mir-opt/issue_73223.main.PreCodegen.64bit.diff8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/mir-opt/issue_73223.main.PreCodegen.64bit.diff b/src/test/mir-opt/issue_73223.main.PreCodegen.64bit.diff
index ac08a4512d0..82d17488782 100644
--- a/src/test/mir-opt/issue_73223.main.PreCodegen.64bit.diff
+++ b/src/test/mir-opt/issue_73223.main.PreCodegen.64bit.diff
@@ -41,6 +41,8 @@
                           let mut _23: for<'r, 's, 't0> fn(&'r core::fmt::Opaque, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>; // in scope 6 at $SRC_DIR/std/src/macros.rs:LL:COL
                           let mut _24: for<'r, 's, 't0> fn(&'r &i32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>; // in scope 6 at $SRC_DIR/std/src/macros.rs:LL:COL
                           let mut _25: &&i32; // in scope 6 at $SRC_DIR/std/src/macros.rs:LL:COL
+                          scope 7 {
+                          }
                       }
                       scope 8 (inlined ArgumentV1::new::<&i32>) { // at $SRC_DIR/std/src/macros.rs:LL:COL
                           debug x => _28;  // in scope 8 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
@@ -48,6 +50,8 @@
                           let mut _26: for<'r, 's, 't0> fn(&'r core::fmt::Opaque, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>; // in scope 8 at $SRC_DIR/std/src/macros.rs:LL:COL
                           let mut _27: for<'r, 's, 't0> fn(&'r &i32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>; // in scope 8 at $SRC_DIR/std/src/macros.rs:LL:COL
                           let mut _28: &&i32; // in scope 8 at $SRC_DIR/std/src/macros.rs:LL:COL
+                          scope 9 {
+                          }
                       }
                   }
                   scope 10 (inlined Arguments::new_v1) { // at $SRC_DIR/std/src/macros.rs:LL:COL
@@ -63,10 +67,6 @@
       scope 2 {
           debug v => _3;                   // in scope 2 at $DIR/issue-73223.rs:3:14: 3:15
       }
-      scope 7 {
-      }
-      scope 9 {
-      }
   
       bb0: {
           StorageLive(_1);                 // scope 0 at $DIR/issue-73223.rs:2:9: 2:14