We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7984e60 commit 0941fc0Copy full SHA for 0941fc0
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