about summary refs log tree commit diff
path: root/src/test/mir-opt/dataflow-const-prop/enum.main.DataflowConstProp.diff
diff options
context:
space:
mode:
authorJakob Degen <jakob.e.degen@gmail.com>2022-12-03 16:03:27 -0800
committerJakob Degen <jakob.e.degen@gmail.com>2022-12-09 04:53:10 -0800
commit9fb8da8f8ff1a0b2c237c691fee58b6348811b86 (patch)
tree8b3c32c7333890a7f54a1cab61a30a89c7c30d80 /src/test/mir-opt/dataflow-const-prop/enum.main.DataflowConstProp.diff
parent14ca83a04b00433a8caf3b805d5ea08cb2691e1b (diff)
downloadrust-9fb8da8f8ff1a0b2c237c691fee58b6348811b86.tar.gz
rust-9fb8da8f8ff1a0b2c237c691fee58b6348811b86.zip
Remove unneeded field from `SwitchTargets`
Diffstat (limited to 'src/test/mir-opt/dataflow-const-prop/enum.main.DataflowConstProp.diff')
-rw-r--r--src/test/mir-opt/dataflow-const-prop/enum.main.DataflowConstProp.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/mir-opt/dataflow-const-prop/enum.main.DataflowConstProp.diff b/src/test/mir-opt/dataflow-const-prop/enum.main.DataflowConstProp.diff
index 2ced794e628..fce18fae436 100644
--- a/src/test/mir-opt/dataflow-const-prop/enum.main.DataflowConstProp.diff
+++ b/src/test/mir-opt/dataflow-const-prop/enum.main.DataflowConstProp.diff
@@ -28,7 +28,7 @@
           discriminant(_1) = 0;            // scope 0 at $DIR/enum.rs:+1:13: +1:21
           StorageLive(_2);                 // scope 1 at $DIR/enum.rs:+2:9: +2:10
           _3 = discriminant(_1);           // scope 1 at $DIR/enum.rs:+2:19: +2:20
-          switchInt(move _3) -> [0_isize: bb3, 1_isize: bb1, otherwise: bb2]; // scope 1 at $DIR/enum.rs:+2:13: +2:20
+          switchInt(move _3) -> [0: bb3, 1: bb1, otherwise: bb2]; // scope 1 at $DIR/enum.rs:+2:13: +2:20
       }
   
       bb1: {