Skip to content

Commit

Permalink
EarlyOtherwiseBranch requires -Zunsound-mir-opts
Browse files Browse the repository at this point in the history
The noopt test never actually ran the pass
  • Loading branch information
ecstatic-morse committed Dec 3, 2021
1 parent dc5feeb commit 7bc5eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/mir-opt/early_otherwise_branch_noopt.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// compile-flags: -Z mir-opt-level=4
// compile-flags: -Z mir-opt-level=4 -Zunsound-mir-opts

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

0 comments on commit 7bc5eca

Please sign in to comment.