diff options
| author | bors <bors@rust-lang.org> | 2023-04-23 11:07:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-23 11:07:14 +0000 |
| commit | f16bfa478f131b2ec2ad9742f88dc6a9beea52b7 (patch) | |
| tree | 393446ee037a9e33e0688f2c10024e1dcfdb68b9 /src | |
| parent | a3ed905928a03b6e433d0b429190bf3a847128b3 (diff) | |
| parent | 36bf3ef0042397f0d9d21f9de695f551e4e9d3b5 (diff) | |
| download | rust-f16bfa478f131b2ec2ad9742f88dc6a9beea52b7.tar.gz rust-f16bfa478f131b2ec2ad9742f88dc6a9beea52b7.zip | |
Auto merge of #10703 - flip1995:rustup, r=flip1995
Rustup r? `@ghost` changelog: none
Diffstat (limited to 'src')
| -rw-r--r-- | src/driver.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver.rs b/src/driver.rs index 718bc41fb99..205905d5091 100644 --- a/src/driver.rs +++ b/src/driver.rs @@ -160,6 +160,9 @@ impl rustc_driver::Callbacks for ClippyCallbacks { // MIR passes can be enabled / disabled separately, we should figure out, what passes to // use for Clippy. config.opts.unstable_opts.mir_opt_level = Some(0); + + // Disable flattening and inlining of format_args!(), so the HIR matches with the AST. + config.opts.unstable_opts.flatten_format_args = false; } } |
