]> git.lizzy.rs Git - rust.git/commitdiff
Rename `debugging_opts` to `unstable_opts`
authorJoshua Nelson <jnelson@cloudflare.com>
Wed, 6 Jul 2022 12:44:47 +0000 (07:44 -0500)
committerJoshua Nelson <jnelson@cloudflare.com>
Wed, 13 Jul 2022 22:47:06 +0000 (17:47 -0500)
This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`).
Rename it to be more clear.

src/driver.rs

index 96d542cfe105223b59c13d7b57398de1d7e70d2e..c219c7de830efdd275e7f2e4d788bd4543b6ab82 100644 (file)
@@ -117,7 +117,7 @@ fn config(&mut self, config: &mut interface::Config) {
         // 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);
     }
 }