]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir_transform/src/dest_prop.rs
simplify more, ret_deref -> has_deref
[rust.git] / compiler / rustc_mir_transform / src / dest_prop.rs
index 84c7aada5e57f1fa43ffb5f8c272b2c927dfd533..33572068f5cd9ac4cd0a5f04f004eb42be1f04cf 100644 (file)
@@ -122,7 +122,7 @@ fn is_enabled(&self, sess: &rustc_session::Session) -> bool {
         //
         // Only run at mir-opt-level=3 or higher for now (we don't fix up debuginfo and remove
         // storage statements at the moment).
-        sess.opts.debugging_opts.unsound_mir_opts && sess.mir_opt_level() >= 3
+        sess.opts.unstable_opts.unsound_mir_opts && sess.mir_opt_level() >= 3
     }
 
     fn run_pass(&self, tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {