We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ad307d commit 65b1083Copy full SHA for 65b1083
tests/mir-opt/dataflow-const-prop/enum.rs
@@ -129,9 +129,7 @@ fn multiple(x: bool, i: u8) {
129
// The dataflow state must have:
130
// discriminant(e) => Top
131
// (e as Some).0 => Top
132
- // CHECK-NOT: [[x2]] = const 5
133
// CHECK: [[x2]] = const 0_u8;
134
135
// CHECK: [[some:_.*]] = (({{_.*}} as Some).0: u8)
136
// CHECK: [[x2]] = [[some]];
137
let x2 = match e { Some(i) => i, None => 0 };
0 commit comments