rust/tests/ui/codemap_tests
Esteban Küber f1c751bc1a Refactor emitter to better account for unicode chars when trimming
Change the way that underline positions are calculated by delaying using
the "visual" column position until the last possible moment, instead
using the "file"/byte position in the file, and then calculating visual
positioning as late as possible. This should make the underlines more
resilient to non-1-width unicode chars.

Unfortunately, as part of this change (which fixes some visual bugs)
comes with the loss of some eager tab codepoint handling, but the output
remains legible despite some minor regression on the "margin trimming"
logic.
2025-03-07 17:55:08 +00:00
..
bad-format-args.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-format-args.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
coherence-overlapping-inherent-impl-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
coherence-overlapping-inherent-impl-trait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
empty_span.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty_span.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
huge_multispan_highlight.ascii.svg Filter empty lines, comments and delimiters from previous to last multiline span rendering 2024-12-12 23:36:27 +00:00
huge_multispan_highlight.rs Don't allow -Zunstable-options to take a value 2024-11-18 18:04:59 +11:00
huge_multispan_highlight.unicode.svg Filter empty lines, comments and delimiters from previous to last multiline span rendering 2024-12-12 23:36:27 +00:00
issue-11715.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-11715.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-28308.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-28308.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
one_line.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
one_line.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
overlapping_inherent_impls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
overlapping_inherent_impls.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tab_2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tab_2.stderr Refactor emitter to better account for unicode chars when trimming 2025-03-07 17:55:08 +00:00
tab_3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tab_3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
tab.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tab.stderr Point to where missing return type should go 2023-10-04 21:09:54 +00:00
two_files_data.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
two_files.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
two_files.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
unicode_2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unicode_2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unicode_3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unicode_3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unicode.expanded.stdout [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unicode.normal.stderr Fix remaining cases 2024-06-21 19:00:18 -04:00
unicode.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00