diff options
| author | bors <bors@rust-lang.org> | 2023-12-07 16:27:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-07 16:27:31 +0000 |
| commit | 9975650b3e834818ffc9a0e653391c5a64f9f9fe (patch) | |
| tree | a854c4e8c556d9b063801d306413bd51f3c85a4c /compiler/rustc_interface/src/errors.rs | |
| parent | 421a0a4ff4a0619a66aceded8f7040444723c78d (diff) | |
| parent | a011b6c84c19357d21cd418f011f4d62b320abf7 (diff) | |
| download | rust-9975650b3e834818ffc9a0e653391c5a64f9f9fe.tar.gz rust-9975650b3e834818ffc9a0e653391c5a64f9f9fe.zip | |
Auto merge of #16041 - roife:fix-line-index-widechar, r=Veykril
Fix WideChar offsets calculation in `line-index` Fix #15981. This PR addresses the issue with the WideChar's offset calculation, ensuring accurate line-specific positions during text analysis in the `lib/line-index` module. ## Changes Made - Corrected the calculation for `WideChar` offsets, ensuring they reflect positions within respective lines. - Added tests to verify the accuracy of `WideChar` offset calculations, and correct existing tests.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
