We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 09c4503 + 0941fc0 commit 6b40d12Copy full SHA for 6b40d12
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