We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89bf30e commit e11e408Copy full SHA for e11e408
compiler/rustc_mir_transform/src/const_goto.rs
@@ -28,7 +28,7 @@ pub struct ConstGoto;
28
29
impl<'tcx> MirPass<'tcx> for ConstGoto {
30
fn is_enabled(&self, sess: &rustc_session::Session) -> bool {
31
- sess.mir_opt_level() >= 4
+ sess.mir_opt_level() >= 2
32
}
33
34
fn run_pass(&self, tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
0 commit comments