We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10d0109 commit 38ec6beCopy full SHA for 38ec6be
src/tools/clippy/src/driver.rs
@@ -83,7 +83,7 @@ impl rustc_driver::Callbacks for ClippyCallbacks {
83
// run on the unoptimized MIR. On the other hand this results in some false negatives. If
84
// MIR passes can be enabled / disabled separately, we should figure out, what passes to
85
// use for Clippy.
86
- config.opts.debugging_opts.mir_opt_level = 0;
+ config.opts.debugging_opts.mir_opt_level = Some(0);
87
}
88
89
0 commit comments