rust/compiler/rustc_errors/src
Yuki Okushi 86b900a3ea
Rollup merge of #79757 - jryans:long-line-tab-handling-early-expand, r=estebank
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`
2021-01-12 16:13:15 +09:00
..
json mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
annotate_snippet_emitter_writer.rs Implement rustc side of report-future-incompat 2020-10-30 20:02:14 -04:00
diagnostic.rs Switch compiler/ to intra-doc links 2020-12-18 15:22:51 -05:00
diagnostic_builder.rs Fix typo in method name 2020-12-16 14:59:12 -08:00
emitter.rs Replace tabs earlier in diagnostics 2020-12-09 10:12:15 +00:00
json.rs Some work 2020-10-30 20:02:14 -04:00
lib.rs Implement rustc side of report-future-incompat 2020-10-30 20:02:14 -04:00
lock.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
registry.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
snippet.rs Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
styled_buffer.rs Replace tabs earlier in diagnostics 2020-12-09 10:12:15 +00:00