about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.rs b/src/driver.rs
index 96d542cfe10..c219c7de830 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -117,7 +117,7 @@ impl rustc_driver::Callbacks for ClippyCallbacks {
         // run on the unoptimized MIR. On the other hand this results in some false negatives. If
         // MIR passes can be enabled / disabled separately, we should figure out, what passes to
         // use for Clippy.
-        config.opts.debugging_opts.mir_opt_level = Some(0);
+        config.opts.unstable_opts.mir_opt_level = Some(0);
     }
 }