• Ö
    format macro argument parsing fix · 5b9bac2a
    Ömer Sinan Ağacan 提交于
    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
    5b9bac2a
issue-83344.rs 131 字节