We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27885a9 commit f37adefCopy full SHA for f37adef
compiler/rustc_mir/src/transform/early_otherwise_branch.rs
@@ -26,7 +26,7 @@ pub struct EarlyOtherwiseBranch;
26
27
impl<'tcx> MirPass<'tcx> for EarlyOtherwiseBranch {
28
fn run_pass(&self, tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
29
- if tcx.sess.mir_opt_level() < 3 {
+ if tcx.sess.mir_opt_level() < 2 {
30
return;
31
}
32
trace!("running EarlyOtherwiseBranch on {:?}", body.source);
0 commit comments