Files
rust/tests/ui/asm
Jonathan Brouwer 329353e42c Rollup merge of #151455 - eggyal:normalized-byte-pos, r=cjgillot
Fix `SourceFile::normalized_byte_pos`

This method was broken by 258ace6, which changed `self.normalized_pos` to use relative offsets however this method continued to compare against an absolute offset.

Also adds a regression test for the issue that this method was originally introduced to fix.

Closes rust-lang/rust#149568
Fixes regression of rust-lang/rust#110885

r? cjgillot (as author of the breaking commit)
2026-02-08 19:15:24 +01:00
..
2026-02-02 15:10:36 +08:00
2026-01-27 14:06:41 +00:00
2025-10-15 20:43:53 +02:00
2025-10-15 20:43:53 +02:00
2025-10-15 20:43:53 +02:00
2024-09-29 08:49:37 +02:00
2025-02-26 19:27:19 +00:00
2025-02-26 19:27:19 +00:00
2025-02-26 19:27:19 +00:00
2024-08-13 23:18:31 +02:00
2023-01-11 09:32:08 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2023-01-11 09:32:08 +00:00
2025-11-02 20:12:26 +00:00
2025-04-20 11:18:38 +02:00
2024-08-13 23:18:31 +02:00
2024-08-13 23:18:31 +02:00