rust/tests/ui/diagnostic-width
Matthias Krüger c2c4d5ebfb
Rollup merge of #136315 - estebank:long-ty-binop, r=SparrowLii
Use short ty string for binop and unop errors

```
error[E0369]: cannot add `(..., ..., ..., ...)` to `(..., ..., ..., ...)`
  --> $DIR/binop.rs:10:7
   |
LL |     x + x;
   |     - ^ - (..., ..., ..., ...)
   |     |
   |     (..., ..., ..., ...)
   |
   = note: the full name for the type has been written to '$TEST_BUILD_DIR/$FILE.long-type-hash.txt'
   = note: consider using `--verbose` to print the full type name to the console
```
```
error[E0600]: cannot apply unary operator `!` to type `(..., ..., ..., ...)`
  --> $DIR/binop.rs:14:5
   |
LL |     !x;
   |     ^^ cannot apply unary operator `!`
   |
   = note: the full name for the type has been written to '$TEST_BUILD_DIR/$FILE.long-type-hash.txt'
   = note: consider using `--verbose` to print the full type name to the console
```

CC #135919.
2025-02-06 13:09:59 +01:00
..
auxiliary Create AnnotationColumn struct to fix hard tab column numbers in errors 2023-03-28 09:18:55 -04:00
E0271.ascii.stderr fix normalization in `E0271` test for compare-modes 2025-02-03 19:38:52 +00:00
E0271.rs fix normalization in `E0271` test for compare-modes 2025-02-03 19:38:52 +00:00
E0271.unicode.stderr fix normalization in `E0271` test for compare-modes 2025-02-03 19:38:52 +00:00
binop.rs Use short ty string for binop and upops errors 2025-02-02 19:10:01 +00:00
binop.stderr Use short ty string for binop and upops errors 2025-02-02 19:10: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-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
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
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