summary refs log tree commit diff
path: root/tests/mir-opt/dataflow-const-prop/mult_by_zero.test.DataflowConstProp.diff
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2024-08-18 14:26:34 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2024-08-18 16:07:33 -0700
commit99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad (patch)
treebb59a5f90f8a4a26f498d6748aec34d14a01d052 /tests/mir-opt/dataflow-const-prop/mult_by_zero.test.DataflowConstProp.diff
parent249a36ffbd577fc76153b7ad4cafd33607ee4ddc (diff)
downloadrust-99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad.tar.gz
rust-99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad.zip
Bless *all* the mir-opt tests
Diffstat (limited to 'tests/mir-opt/dataflow-const-prop/mult_by_zero.test.DataflowConstProp.diff')
-rw-r--r--tests/mir-opt/dataflow-const-prop/mult_by_zero.test.DataflowConstProp.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/dataflow-const-prop/mult_by_zero.test.DataflowConstProp.diff b/tests/mir-opt/dataflow-const-prop/mult_by_zero.test.DataflowConstProp.diff
index 91bc10a562f..8b05386b38a 100644
--- a/tests/mir-opt/dataflow-const-prop/mult_by_zero.test.DataflowConstProp.diff
+++ b/tests/mir-opt/dataflow-const-prop/mult_by_zero.test.DataflowConstProp.diff
@@ -8,7 +8,7 @@
   
       bb0: {
           StorageLive(_2);
-          _2 = _1;
+          _2 = copy _1;
 -         _0 = Mul(move _2, const 0_i32);
 +         _0 = const 0_i32;
           StorageDead(_2);