rust/tests/ui/diagnostic-width
Mahdi Dibaiee 8df39667dc new unstable option: -Zwrite-long-types-to-disk
This option guards the logic of writing long type names in files and
instead using short forms in error messages in rustc_middle/ty/error
behind a flag. The main motivation for this change is to disable this
behaviour when running ui tests.

This logic can be triggered by running tests in a directory that has a
long enough path, e.g. /my/very-long-path/where/rust-codebase/exists/

This means ui tests can fail depending on how long the path to their
file is.

Some ui tests actually rely on this behaviour for their assertions,
so for those we enable the flag manually.
2023-07-24 12:25:05 +01:00
..
auxiliary Create AnnotationColumn struct to fix hard tab column numbers in errors 2023-03-28 09:18:55 -04:00
E0271.rs Hide more of long types in E0271 2023-01-11 21:40:39 +00:00
E0271.stderr new unstable option: -Zwrite-long-types-to-disk 2023-07-24 12:25:05 +01:00
flag-human.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
flag-human.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
flag-json.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
flag-json.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
long-E0308.rs new unstable option: -Zwrite-long-types-to-disk 2023-07-24 12:25:05 +01:00
long-E0308.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
non-1-width-unicode-multiline-label.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-1-width-unicode-multiline-label.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-whitespace-trimming-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-whitespace-trimming-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-whitespace-trimming-unicode.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-whitespace-trimming-unicode.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-whitespace-trimming.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-whitespace-trimming.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tab-column-numbers.rs Create AnnotationColumn struct to fix hard tab column numbers in errors 2023-03-28 09:18:55 -04:00
tab-column-numbers.stderr Create AnnotationColumn struct to fix hard tab column numbers in errors 2023-03-28 09:18:55 -04:00
tabs-trimming.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tabs-trimming.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
whitespace-trimming-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
whitespace-trimming-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
whitespace-trimming.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
whitespace-trimming.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00