Skip to content

Commit ef294be

Browse files
committed
compiler: Don't mark SingleUseConsts MIR pass as "required for soundness"
Because: * Something like it did not exist before PR 107404 * That it is not run our mir-opt-level 0 indicates that it is not required for soundness * No test fails in PR 151426 that stops enabling by default in non-optimized builds
1 parent 47611e1 commit ef294be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir_transform/src/single_use_consts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl<'tcx> crate::MirPass<'tcx> for SingleUseConsts {
8585
}
8686

8787
fn is_required(&self) -> bool {
88-
true
88+
false
8989
}
9090
}
9191

0 commit comments

Comments
 (0)