Skip to content

Commit 44f25ba

Browse files
committed
Auto merge of rust-lang#98975 - jyn514:unstable_opts, r=wesleywiser
Rename `debugging_opts` to `unstable_opts` This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`). Rename it to be more clear. cc https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Codegen.20options.20.2F.20debugging.20options r? `@Amanieu` cc `@nikic` `@joshtriplett`
2 parents eee0bf4 + 73f3294 commit 44f25ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ impl rustc_driver::Callbacks for ClippyCallbacks {
117117
// run on the unoptimized MIR. On the other hand this results in some false negatives. If
118118
// MIR passes can be enabled / disabled separately, we should figure out, what passes to
119119
// use for Clippy.
120-
config.opts.debugging_opts.mir_opt_level = Some(0);
120+
config.opts.unstable_opts.mir_opt_level = Some(0);
121121
}
122122
}
123123

0 commit comments

Comments
 (0)