rust/compiler/rustc_parse_format
bors 731e0bf721 Auto merge of #103828 - cassaundra:fix-format-args-span2, r=cjgillot
Fix incorrect span when using byte-escaped rbrace

Fix #103826, a format args span issue introduced in #102214.

The current solution for tracking skipped characters made it so that certain situations were ambiguous enough that the original span couldn't be worked out later. This PR improves on the original solution by keeping track of groups of skipped characters using a map, and fixes the previous bug. See an example of this ambiguity in the [previous PR's discussion](https://github.com/rust-lang/rust/pull/102214#issuecomment-1258711015).
2022-12-26 12:03:47 +00:00
..
src Auto merge of #103828 - cassaundra:fix-format-args-span2, r=cjgillot 2022-12-26 12:03:47 +00:00
Cargo.toml Assert size of rustc_parse_format::Piece<'_> 2022-12-08 22:50:39 +00:00