Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#89912 - davidtwco:issue-89280-split-lines-m…
…ultiple-lines, r=oli-obk emitter: current substitution can be multi-line Fixes rust-lang#89280. In `splice_lines`, there is some arithmetic to compute the required alignment such that future substitutions in a suggestion are aligned correctly. However, this assumed that the current substitution's span was only on a single line. In circumstances where this was not true, it could result in a arithmetic overflow when the substitution's end column was less than the substitution's start column. r? ```@oli-obk```
- Loading branch information