mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
86b900a3ea
Replace tabs earlier in diagnostics This replaces tabs earlier in the diagnostics emitting process, which allows various margin calculations to ignore the existence of tabs. It does add a string copy for the source lines that are emitted. Fixes https://github.com/rust-lang/rust/issues/78438 r? `@estebank`