We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a77d39b commit 63d8758Copy full SHA for 63d8758
src/tools/clippy/src/driver.rs
@@ -160,6 +160,9 @@ impl rustc_driver::Callbacks for ClippyCallbacks {
160
// MIR passes can be enabled / disabled separately, we should figure out, what passes to
161
// use for Clippy.
162
config.opts.unstable_opts.mir_opt_level = Some(0);
163
+
164
+ // Disable flattening and inlining of format_args!(), so the HIR matches with the AST.
165
+ config.opts.unstable_opts.flatten_format_args = false;
166
}
167
168
0 commit comments