rust/tests/ui/diagnostic-width
Matthias Krüger 2080d66a15
Rollup merge of #136018 - estebank:long-moved-type, r=jieyouxu
Use short ty string for move errors

```
error[E0382]: use of moved value: `x`
  --> bay.rs:14:14
   |
12 | fn foo(x: D) {
   |        - move occurs because `x` has type `(((..., ..., ..., ...), ..., ..., ...), ..., ..., ...)`, which does not implement the `Copy` trait
13 |     let _a = x;
   |              - value moved here
14 |     let _b = x; //~ ERROR use of moved value
   |              ^ value used here after move
   |
   = note: the full type name has been written to 'bay.long-type-14349227078439097973.txt'
   = note: consider using `--verbose` to print the full type name to the console
help: consider cloning the value if the performance cost is acceptable
   |
13 |     let _a = x.clone();
   |               ++++++++
```

Address 4th case in #135919.
2025-01-25 08:03:37 +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 Filter empty lines, comments and delimiters from previous to last multiline span rendering 2024-12-12 23:36:27 +00:00
E0271.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
E0271.unicode.stderr Filter empty lines, comments and delimiters from previous to last multiline span rendering 2024-12-12 23:36:27 +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 Add Unicode block-drawing compiler output support 2024-11-10 23:57:18 +01:00
long-E0308.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
long-E0308.unicode.stderr Add Unicode block-drawing compiler output support 2024-11-10 23:57:18 +01: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 Use short ty string for move errors 2025-01-24 18:12:56 +00:00
non-copy-type-moved.stderr Use short ty string for move errors 2025-01-24 18:12:56 +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 Use short type string in E0308 secondary span label 2025-01-24 01:10:33 +00:00
secondary-label-with-long-type.stderr Use short type string in E0308 secondary span label 2025-01-24 01:10:33 +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