Skip to content

Commit 7bc5eca

Browse files
EarlyOtherwiseBranch requires -Zunsound-mir-opts
The noopt test never actually ran the pass
1 parent dc5feeb commit 7bc5eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/mir-opt/early_otherwise_branch_noopt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z mir-opt-level=4
1+
// compile-flags: -Z mir-opt-level=4 -Zunsound-mir-opts
22

33
// must not optimize as it does not follow the pattern of
44
// left and right hand side being the same variant

0 commit comments

Comments
 (0)