about summary refs log tree commit diff
path: root/src/test/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.diff
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2020-08-20 09:44:20 +0000
committerLzu Tao <taolzu@gmail.com>2020-08-21 00:36:49 +0000
commitc4c017a18487145cd5fdcfda741acc6a2a00bef7 (patch)
tree996d86bc502136269ee872c1639f7d122be367b7 /src/test/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.diff
parente15510ca33ea15c893b78710101c962b11459963 (diff)
downloadrust-c4c017a18487145cd5fdcfda741acc6a2a00bef7.tar.gz
rust-c4c017a18487145cd5fdcfda741acc6a2a00bef7.zip
Suppress "const" prefix of FnDef in MIR dump
Diffstat (limited to 'src/test/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.diff')
-rw-r--r--src/test/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.diff b/src/test/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.diff
index df03cb2935f..b55e3a63533 100644
--- a/src/test/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.diff
+++ b/src/test/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.diff
@@ -22,7 +22,7 @@
   
       bb2: {
           StorageLive(_2);                 // scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
-          const std::rt::begin_panic::<&str>(const "explicit panic"); // scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
+          std::rt::begin_panic::<&str>(const "explicit panic"); // scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
                                            // mir::Constant
                                            // + span: $SRC_DIR/std/src/macros.rs:LL:COL
                                            // + literal: Const { ty: fn(&str) -> ! {std::rt::begin_panic::<&str>}, val: Value(Scalar(<ZST>)) }