We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2e9e49 commit c86b7b4Copy full SHA for c86b7b4
compiler/rustc_mir/src/transform/dest_prop.rs
@@ -129,7 +129,7 @@ impl<'tcx> MirPass<'tcx> for DestinationPropagation {
129
fn run_pass(&self, tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
130
// Only run at mir-opt-level=2 or higher for now (we don't fix up debuginfo and remove
131
// storage statements at the moment).
132
- if tcx.sess.mir_opt_level() <= 1 {
+ if tcx.sess.mir_opt_level() < 2 {
133
return;
134
}
135
compiler/rustc_mir/src/transform/match_branches.rs
@@ -40,7 +40,7 @@ pub struct MatchBranchSimplification;
40
41
impl<'tcx> MirPass<'tcx> for MatchBranchSimplification {
42
43
44
45
46
0 commit comments