rust/tests/ui/diagnostic-width
Esteban Küber 0751e9036a Rework "long type names" printing logic
Make it so more type-system types can be printed in a shortened version (like `Predicate`s).

Centralize printing the information about the "full type name path".

Make the "long type path" for the file where long types are written part of `Diag`, so that it becomes easier to keep track of it, and ensure it will always will be printed out last in the diagnostic by making its addition to the output implicit.

Tweak the shortening of types in "expected/found" labels.

Remove dead file `note.rs`.
2025-01-31 20:39:01 +00:00
..
auxiliary Create AnnotationColumn struct to fix hard tab column numbers in errors 2023-03-28 09:18:55 -04:00
E0271.ascii.stderr Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
E0271.rs Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
E0271.unicode.stderr Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
flag-human.ascii.stderr Add Unicode block-drawing compiler output support 2024-11-10 23:57:18 +01:00
flag-human.rs Don't allow -Zunstable-options to take a value 2024-11-18 18:04:59 +11:00
flag-human.unicode.stderr Add Unicode block-drawing compiler output support 2024-11-10 23:57:18 +01:00
flag-json.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
flag-json.stderr [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
long-e0277.rs Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
long-e0277.stderr Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
long-E0308.ascii.stderr Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
long-E0308.rs normalize long-type.txt in tests 2025-01-30 17:10:19 +00:00
long-E0308.unicode.stderr Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
non-1-width-unicode-multiline-label.ascii.stderr Add Unicode block-drawing compiler output support 2024-11-10 23:57:18 +01:00
non-1-width-unicode-multiline-label.rs Don't allow -Zunstable-options to take a value 2024-11-18 18:04:59 +11:00
non-1-width-unicode-multiline-label.unicode.stderr Add Unicode block-drawing compiler output support 2024-11-10 23:57:18 +01:00
non-copy-type-moved.rs normalize long-type.txt in tests 2025-01-30 17:10:19 +00:00
non-copy-type-moved.stderr Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
non-whitespace-trimming-2.ascii.stderr Add Unicode block-drawing compiler output support 2024-11-10 23:57:18 +01:00
non-whitespace-trimming-2.rs Don't allow -Zunstable-options to take a value 2024-11-18 18:04:59 +11:00
non-whitespace-trimming-2.unicode.stderr Add Unicode block-drawing compiler output support 2024-11-10 23:57:18 +01:00
non-whitespace-trimming-unicode.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-whitespace-trimming-unicode.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
non-whitespace-trimming.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-whitespace-trimming.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
secondary-label-with-long-type.rs Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
secondary-label-with-long-type.stderr Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00
tab-column-numbers.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tab-column-numbers.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
tabs-trimming.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
tabs-trimming.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
whitespace-trimming-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
whitespace-trimming-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
whitespace-trimming.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
whitespace-trimming.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00