Skip to content

Commit 7ad307d

Browse files
committed
finish a pattern in enum.rs
1 parent edba949 commit 7ad307d

File tree

1 file changed

+1
-1
lines changed
  • tests/mir-opt/dataflow-const-prop

1 file changed

+1
-1
lines changed

tests/mir-opt/dataflow-const-prop/enum.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ fn multiple(x: bool, i: u8) {
132132
// CHECK-NOT: [[x2]] = const 5
133133
// CHECK: [[x2]] = const 0_u8;
134134
// CHECK-NOT: [[x2]] = const 5
135-
// CHECK: [[some:_.*]] = (({{_.*}} as Some
135+
// CHECK: [[some:_.*]] = (({{_.*}} as Some).0: u8)
136136
// CHECK: [[x2]] = [[some]];
137137
let x2 = match e { Some(i) => i, None => 0 };
138138

0 commit comments

Comments
 (0)