diff options
| author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2021-03-21 17:29:21 +0300 |
|---|---|---|
| committer | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2021-03-27 13:06:36 +0300 |
| commit | 5b9bac2ab62063229c419909f89a41890c57f78f (patch) | |
| tree | c14ccada7ceaaf8f6fd052194fb0c3a79f339f62 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | f811f14006fa46030f1af714f7d640580d3ad822 (diff) | |
| download | rust-5b9bac2ab62063229c419909f89a41890c57f78f.tar.gz rust-5b9bac2ab62063229c419909f89a41890c57f78f.zip | |
format macro argument parsing fix
When the character next to `{}` is "shifted" (when mapping a byte index
in the format string to span) we should avoid shifting the span end
index, so first map the index of `}` to span, then bump the span,
instead of first mapping the next byte index to a span (which causes
bumping the end span too much).
Regression test added.
Fixes #83344
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
