mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
973fb4b77f
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 --- r? ```@estebank``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |