about summary refs log tree commit diff
path: root/src/test/mir-opt/simplify_try.try_identity.DestinationPropagation.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_try.try_identity.DestinationPropagation.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_try.try_identity.DestinationPropagation.diff')
-rw-r--r--src/test/mir-opt/simplify_try.try_identity.DestinationPropagation.diff14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/mir-opt/simplify_try.try_identity.DestinationPropagation.diff b/src/test/mir-opt/simplify_try.try_identity.DestinationPropagation.diff
index 38da3a8a9e8..3ba0af991f6 100644
--- a/src/test/mir-opt/simplify_try.try_identity.DestinationPropagation.diff
+++ b/src/test/mir-opt/simplify_try.try_identity.DestinationPropagation.diff
@@ -21,11 +21,11 @@
           debug err => ((_0 as Err).0: i32); // in scope 2 at $DIR/simplify_try.rs:8:14: 8:15
           scope 3 {
               scope 7 (inlined <i32 as From<i32>>::from) { // at $DIR/simplify_try.rs:8:14: 8:15
-                  debug t => ((_0 as Err).0: i32); // in scope 7 at $SRC_DIR/core/src/convert/mod.rs:LL:COL
+                  debug t => ((_0 as Err).0: i32); // in scope 7 at $DIR/simplify_try.rs:8:14: 8:15
               }
               scope 8 (inlined <std::result::Result<u32, i32> as Try>::from_error) { // at $DIR/simplify_try.rs:8:13: 8:15
-                  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 => ((_0 as Err).0: i32); // in scope 8 at $DIR/simplify_try.rs:8:13: 8:15
+                  let mut _12: i32;        // in scope 8 at $DIR/simplify_try.rs:8:13: 8:15
               }
           }
       }
@@ -35,8 +35,8 @@
           }
       }
       scope 6 (inlined <std::result::Result<u32, i32> as Try>::into_result) { // at $DIR/simplify_try.rs:8:13: 8:15
--         debug self => _4;                // in scope 6 at $SRC_DIR/core/src/result.rs:LL:COL
-+         debug self => _0;                // in scope 6 at $SRC_DIR/core/src/result.rs:LL:COL
+-         debug self => _4;                // in scope 6 at $DIR/simplify_try.rs:8:13: 8:15
++         debug self => _0;                // in scope 6 at $DIR/simplify_try.rs:8:13: 8:15
       }
   
       bb0: {
@@ -44,13 +44,13 @@
 -         StorageLive(_3);                 // scope 0 at $DIR/simplify_try.rs:8:13: 8:15
 -         StorageLive(_4);                 // scope 0 at $DIR/simplify_try.rs:8:13: 8:14
 -         _4 = _1;                         // scope 0 at $DIR/simplify_try.rs:8:13: 8:14
--         _3 = move _4;                    // scope 6 at $SRC_DIR/core/src/result.rs:LL:COL
+-         _3 = move _4;                    // scope 6 at $DIR/simplify_try.rs:8:13: 8:15
 -         StorageDead(_4);                 // scope 0 at $DIR/simplify_try.rs:8:14: 8:15
 -         _5 = discriminant(_3);           // scope 0 at $DIR/simplify_try.rs:8:14: 8:15
 +         nop;                             // scope 0 at $DIR/simplify_try.rs:8:13: 8:15
 +         nop;                             // scope 0 at $DIR/simplify_try.rs:8:13: 8:14
 +         _0 = _1;                         // scope 0 at $DIR/simplify_try.rs:8:13: 8:14
-+         nop;                             // scope 6 at $SRC_DIR/core/src/result.rs:LL:COL
++         nop;                             // scope 6 at $DIR/simplify_try.rs:8:13: 8:15
 +         nop;                             // scope 0 at $DIR/simplify_try.rs:8:14: 8:15
 +         _5 = discriminant(_0);           // scope 0 at $DIR/simplify_try.rs:8:14: 8:15
           goto -> bb1;                     // scope 0 at $DIR/simplify_try.rs:8:14: 8:15