about summary refs log tree commit diff
path: root/src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2020-09-19 18:56:32 +0200
committeroli <oli@uhura.edef.eu>2020-10-27 14:08:07 +0000
commitc8a866ea176f1d7250a714647a6ce7a4636f5705 (patch)
tree44070d82ce7adc4e3ca3e0f29c6ce7eeba8c93c7 /src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff
parent4445e465182f13590fb7c938881ee1225175740d (diff)
downloadrust-c8a866ea176f1d7250a714647a6ce7a4636f5705.tar.gz
rust-c8a866ea176f1d7250a714647a6ce7a4636f5705.zip
Show the inline stack of MIR lints that only occur after inlining
Diffstat (limited to 'src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff')
-rw-r--r--src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff b/src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff
index 9a9395c3c88..84d8214122a 100644
--- a/src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff
+++ b/src/test/mir-opt/simplify_arm.id_try.SimplifyArmIdentity.diff
@@ -23,13 +23,13 @@
 +         debug err => ((_0 as Err).0: i32); // in scope 2 at $DIR/simplify-arm.rs:24:14: 24:15
           scope 3 {
               scope 7 (inlined <i32 as From<i32>>::from) { // at $DIR/simplify-arm.rs:24:14: 24:15
--                 debug t => _9;           // in scope 7 at $SRC_DIR/core/src/convert/mod.rs:LL:COL
-+                 debug t => ((_0 as Err).0: i32); // in scope 7 at $SRC_DIR/core/src/convert/mod.rs:LL:COL
+-                 debug t => _9;           // in scope 7 at $DIR/simplify-arm.rs:24:14: 24:15
++                 debug t => ((_0 as Err).0: i32); // in scope 7 at $DIR/simplify-arm.rs:24:14: 24:15
               }
               scope 8 (inlined <std::result::Result<u8, i32> as Try>::from_error) { // at $DIR/simplify-arm.rs:24:13: 24:15
--                 debug v => _8;           // in scope 8 at $SRC_DIR/core/src/result.rs:LL:COL
-+                 debug v => ((_0 as Err).0: i32); // in scope 8 at $SRC_DIR/core/src/result.rs:LL:COL
-                  let mut _12: i32;        // in scope 8 at $SRC_DIR/core/src/result.rs:LL:COL
+-                 debug v => _8;           // in scope 8 at $DIR/simplify-arm.rs:24:13: 24:15
++                 debug v => ((_0 as Err).0: i32); // in scope 8 at $DIR/simplify-arm.rs:24:13: 24:15
+                  let mut _12: i32;        // in scope 8 at $DIR/simplify-arm.rs:24:13: 24:15
               }
           }
       }
@@ -40,7 +40,7 @@
           }
       }
       scope 6 (inlined <std::result::Result<u8, i32> as Try>::into_result) { // at $DIR/simplify-arm.rs:24:13: 24:15
-          debug self => _4;                // in scope 6 at $SRC_DIR/core/src/result.rs:LL:COL
+          debug self => _4;                // in scope 6 at $DIR/simplify-arm.rs:24:13: 24:15
       }
   
       bb0: {
@@ -48,7 +48,7 @@
           StorageLive(_3);                 // scope 0 at $DIR/simplify-arm.rs:24:13: 24:15
           StorageLive(_4);                 // scope 0 at $DIR/simplify-arm.rs:24:13: 24:14
           _4 = _1;                         // scope 0 at $DIR/simplify-arm.rs:24:13: 24:14
-          _3 = move _4;                    // scope 6 at $SRC_DIR/core/src/result.rs:LL:COL
+          _3 = move _4;                    // scope 6 at $DIR/simplify-arm.rs:24:13: 24:15
           StorageDead(_4);                 // scope 0 at $DIR/simplify-arm.rs:24:14: 24:15
           _5 = discriminant(_3);           // scope 0 at $DIR/simplify-arm.rs:24:14: 24:15
           switchInt(move _5) -> [0_isize: bb1, 1_isize: bb3, otherwise: bb2]; // scope 0 at $DIR/simplify-arm.rs:24:14: 24:15
@@ -80,16 +80,16 @@
 -         StorageLive(_8);                 // scope 3 at $DIR/simplify-arm.rs:24:14: 24:15
 -         StorageLive(_9);                 // scope 3 at $DIR/simplify-arm.rs:24:14: 24:15
 -         _9 = _6;                         // scope 3 at $DIR/simplify-arm.rs:24:14: 24:15
--         _8 = move _9;                    // scope 7 at $SRC_DIR/core/src/convert/mod.rs:LL:COL
+-         _8 = move _9;                    // scope 7 at $DIR/simplify-arm.rs:24:14: 24:15
 -         StorageDead(_9);                 // scope 3 at $DIR/simplify-arm.rs:24:14: 24:15
--         StorageLive(_12);                // scope 8 at $SRC_DIR/core/src/result.rs:LL:COL
--         _12 = move _8;                   // scope 8 at $SRC_DIR/core/src/result.rs:LL:COL
--         ((_0 as Err).0: i32) = move _12; // scope 8 at $SRC_DIR/core/src/result.rs:LL:COL
--         discriminant(_0) = 1;            // scope 8 at $SRC_DIR/core/src/result.rs:LL:COL
--         StorageDead(_12);                // scope 8 at $SRC_DIR/core/src/result.rs:LL:COL
+-         StorageLive(_12);                // scope 8 at $DIR/simplify-arm.rs:24:13: 24:15
+-         _12 = move _8;                   // scope 8 at $DIR/simplify-arm.rs:24:13: 24:15
+-         ((_0 as Err).0: i32) = move _12; // scope 8 at $DIR/simplify-arm.rs:24:13: 24:15
+-         discriminant(_0) = 1;            // scope 8 at $DIR/simplify-arm.rs:24:13: 24:15
+-         StorageDead(_12);                // scope 8 at $DIR/simplify-arm.rs:24:13: 24:15
 -         StorageDead(_8);                 // scope 3 at $DIR/simplify-arm.rs:24:14: 24:15
 -         StorageDead(_6);                 // scope 0 at $DIR/simplify-arm.rs:24:14: 24:15
-+         _0 = move _3;                    // scope 8 at $SRC_DIR/core/src/result.rs:LL:COL
++         _0 = move _3;                    // scope 8 at $DIR/simplify-arm.rs:24:13: 24:15
           StorageDead(_3);                 // scope 0 at $DIR/simplify-arm.rs:24:15: 24:16
           StorageDead(_2);                 // scope 0 at $DIR/simplify-arm.rs:26:1: 26:2
           goto -> bb4;                     // scope 0 at $DIR/simplify-arm.rs:26:2: 26:2