diff options
| author | bors <bors@rust-lang.org> | 2022-10-12 22:53:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-12 22:53:48 +0000 |
| commit | 42bdfa23d33041642a32950cb39ad92be501a18d (patch) | |
| tree | 8f3c7ae8b5a3f9f36c60129a1b04375b7827d816 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 45dd9f31f3b65c871dd4f494643fac472678348f (diff) | |
| parent | 771790404391b31c5c45a7e314703eff12226903 (diff) | |
| download | rust-42bdfa23d33041642a32950cb39ad92be501a18d.tar.gz rust-42bdfa23d33041642a32950cb39ad92be501a18d.zip | |
Auto merge of #9590 - nyurik:fix-parens, r=Alexendoo
Fix to_string_in_format_args in parens
Fix suggestions like
```
print!("error: something failed at {}", (Location::caller().to_string()));
```
where the parenthesis enclose some portion of the value.
Fixes #9540
changelog: [`to_string_in_format_args`]: fix incorrect fix when value is enclosed in parenthesis
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
