rust/compiler/rustc_span
Jubilee 8f4b766885
Rollup merge of #136460 - real-eren:simplify-rustc_span-analyze, r=Noratrieb
Simplify `rustc_span` `analyze_source_file`

Simplifies the logic to what the code *actually* does, which is to just record newlines and multibyte characters. Checking for other ASCII control characters is unnecessary because the generic fallback doesn't do anything for those cases.
Also uses a simpler (and more efficient) means of iterating the set bits of the mask.
2025-02-13 21:37:50 -08:00
..
src Rollup merge of #136460 - real-eren:simplify-rustc_span-analyze, r=Noratrieb 2025-02-13 21:37:50 -08:00
Cargo.toml Update unicode-width to 0.2.0 2024-10-12 21:57:50 +00:00