]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir_transform/src/early_otherwise_branch.rs
Auto merge of #93397 - joshtriplett:sort-floats, r=Amanieu
[rust.git] / compiler / rustc_mir_transform / src / early_otherwise_branch.rs
index 33f201cbd28326bb92ff61547a2f22ef2f9db410..dba42f7aff0338fb94bad384a67778530da4ff7e 100644 (file)
@@ -95,7 +95,7 @@
 
 impl<'tcx> MirPass<'tcx> for EarlyOtherwiseBranch {
     fn is_enabled(&self, sess: &rustc_session::Session) -> bool {
-        sess.mir_opt_level() >= 3 && sess.opts.debugging_opts.unsound_mir_opts
+        sess.mir_opt_level() >= 3 && sess.opts.unstable_opts.unsound_mir_opts
     }
 
     fn run_pass(&self, tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {