]> git.lizzy.rs Git - rust.git/blobdiff - src/test/mir-opt/inline/issue_58867_inline_as_ref_as_mut.b.Inline.after.mir
rustc_mir: don't throw away inlined locals' spans.
[rust.git] / src / test / mir-opt / inline / issue_58867_inline_as_ref_as_mut.b.Inline.after.mir
index 9378489fabab1f303d8a30d45c7b4a6caa38aaae..af97434f62929c746a6250d99f4067078fda17cb 100644 (file)
@@ -8,8 +8,8 @@ fn b(_1: &mut Box<T>) -> &mut T {
     let mut _4: &mut std::boxed::Box<T>; // in scope 0 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5: 8:6
     scope 1 (inlined <Box<T> as AsMut<T>>::as_mut) { // at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5: 8:15
         debug self => _4;                // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
-        let mut _5: &mut T;              // in scope 1 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5: 8:15
-        let mut _6: &mut T;              // in scope 1 at $DIR/issue-58867-inline-as-ref-as-mut.rs:8:5: 8:15
+        let mut _5: &mut T;              // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
+        let mut _6: &mut T;              // in scope 1 at $SRC_DIR/alloc/src/boxed.rs:LL:COL
     }
 
     bb0: {