We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5314c72 + af4b132 commit 6b4dbb1Copy full SHA for 6b4dbb1
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.opts.debugging_opts.mir_opt_level < 1 {
+ if tcx.sess.opts.debugging_opts.mir_opt_level < 2 {
30
return;
31
}
32
trace!("running EarlyOtherwiseBranch on {:?}", body.source);
0 commit comments