We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 099cb5a commit 728fb05Copy full SHA for 728fb05
compiler/rustc_mir_transform/src/const_prop.rs
@@ -61,7 +61,7 @@ pub struct ConstProp;
61
62
impl<'tcx> MirPass<'tcx> for ConstProp {
63
fn is_enabled(&self, sess: &rustc_session::Session) -> bool {
64
- sess.mir_opt_level() >= 2
+ sess.mir_opt_level() >= 1
65
}
66
67
#[instrument(skip(self, tcx), level = "debug")]
0 commit comments