about summary refs log tree commit diff
path: root/src/test/mir-opt/const_debuginfo.main.ConstDebugInfo.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-22 11:10:26 +0000
committerbors <bors@rust-lang.org>2022-02-22 11:10:26 +0000
commit9ecd75b831f744b9bdfb5ec4d435fa20c65e074e (patch)
tree9f8ead1e6e2b9ce21d94d3b1374c4d4ec244975a /src/test/mir-opt/const_debuginfo.main.ConstDebugInfo.diff
parent58a721af9f818bdf57f86448557b45c5ae19a3ef (diff)
parentee0b56483faecb052c1bb0b08bdc3fc1887bb961 (diff)
downloadrust-9ecd75b831f744b9bdfb5ec4d435fa20c65e074e.tar.gz
rust-9ecd75b831f744b9bdfb5ec4d435fa20c65e074e.zip
Auto merge of #94209 - lcnr:print-mir-consts, r=oli-obk
change `mir::Constant` in mir dumps

this removes duplicate information and avoids printing the `stable_crate_id` in mir dumps which broke CI in #94059

r? `@oli-obk` cc `@b-naber`
Diffstat (limited to 'src/test/mir-opt/const_debuginfo.main.ConstDebugInfo.diff')
-rw-r--r--src/test/mir-opt/const_debuginfo.main.ConstDebugInfo.diff3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/mir-opt/const_debuginfo.main.ConstDebugInfo.diff b/src/test/mir-opt/const_debuginfo.main.ConstDebugInfo.diff
index 8714a8992d7..7ed25c6c09e 100644
--- a/src/test/mir-opt/const_debuginfo.main.ConstDebugInfo.diff
+++ b/src/test/mir-opt/const_debuginfo.main.ConstDebugInfo.diff
@@ -75,9 +75,6 @@
           StorageDead(_5);                 // scope 3 at $DIR/const_debuginfo.rs:12:23: 12:24
           StorageLive(_9);                 // scope 4 at $DIR/const_debuginfo.rs:14:9: 14:10
           _9 = const "hello, world!";      // scope 4 at $DIR/const_debuginfo.rs:14:13: 14:28
-                                           // ty::Const
-                                           // + ty: &str
-                                           // + val: Value(Slice { data: Allocation { bytes: [104, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [8191], len: Size { raw: 13 } }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 13 })
                                            // mir::Constant
                                            // + span: $DIR/const_debuginfo.rs:14:13: 14:28
                                            // + literal: Const { ty: &str, val: Value(Slice { data: Allocation { bytes: [104, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [8191], len: Size { raw: 13 } }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 13 }) }