rust/tests/ui/error-codes
Matthias Krüger 2b34490da6
Rollup merge of #125042 - long-long-float:suggest-move-arg-outside, r=fmease
Use ordinal number in argument error

Add an ordinal number to two argument errors ("unexpected" and "missing") for ease of understanding error.

```
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
  --> test.rs:11:5
   |
11 |     f(42, 'a');
   |     ^     --- 2nd argument of type `f32` is missing
   |
(snip)

error[E0061]: this function takes 3 arguments but 4 arguments were supplied
  --> test.rs:12:5
   |
12 |     f(42, 42, 1.0, 'a');
   |     ^   ----
   |         | |
   |         | unexpected 2nd argument of type `{integer}`
   |         help: remove the extra argument
```

To get an ordinal number, I copied `ordinalize` from other crate `rustc_resolve` because I think it is too much to link `rustc_resolve` for this small function. Please let me know if there is a better way.
2024-07-17 16:22:26 +02:00
..
auxiliary [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
e0119 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0001.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0001.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0004-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0004-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0004.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0004.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0005.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0005.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0010-teach.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0010-teach.stderr Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
E0010.rs Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
E0010.stderr Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
E0015.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0015.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0017.rs Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
E0017.stderr allow statics pointing to mutable statics 2024-02-29 09:34:15 +01:00
E0023.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0023.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0025.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0025.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0026-teach.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0026-teach.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0026.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0026.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0027.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0027.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0029-teach.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0029-teach.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0029.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0029.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0030-teach.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0030-teach.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0030.rs Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
E0030.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0033-teach.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0033-teach.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0033.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0033.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0034.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0034.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0038.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
E0038.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
E0040.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0040.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0040.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0044.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0044.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0045.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0045.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0049.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0049.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0050.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0050.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0054.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0054.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0055.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0055.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0057.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0057.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
E0059.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
E0059.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
E0060.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0060.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
E0061.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0061.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
E0062.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0062.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0063.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0063.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0067.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0067.stderr Change E0369 diagnostic give note information for foreign items. 2024-06-25 10:00:30 +08:00
E0069.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0069.stderr Suggest value on bare return 2024-04-14 09:42:53 -04:00
E0070.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0070.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0071.rs Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
E0071.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0075.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0075.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0076.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0076.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0077.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0077.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0080.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0080.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0081.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0081.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0084.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0084.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0091.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0091.stderr Improve the diagnostics for unused generic parameters 2024-02-01 16:18:03 +01:00
E0092.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0092.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0093.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0093.stderr Add help to hir_analysis_unrecognized_intrinsic_function 2024-02-17 23:16:30 -08:00
E0094.rs Gate and validate #[rustc_safe_intrinsic] 2023-09-25 22:33:15 +02:00
E0094.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0106.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0106.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0107.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
E0107.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
E0109.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0109.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0110.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0110.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0116.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0116.stderr Fix remaining cases 2024-06-21 19:00:18 -04:00
E0117.rs Silence some follow-up errors on trait impls in case the trait has conflicting or otherwise incoherent impls 2024-04-09 10:23:58 +00:00
E0117.stderr Silence some follow-up errors on trait impls in case the trait has conflicting or otherwise incoherent impls 2024-04-09 10:23:58 +00:00
E0118.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0118.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0119.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0119.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0120.rs Stop bailing out from compilation just because there were incoherent traits 2024-02-05 10:17:31 +00:00
E0120.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0121.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0121.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0124.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0124.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0128.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0128.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0130.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0130.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0131.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0131.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0132.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0132.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0133.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
E0133.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
E0138.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0138.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0152.rs Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
E0152.stderr Collect lang items from AST 2023-12-15 16:12:27 +00:00
E0161.base.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0161.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0164.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0164.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0184.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0184.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0185.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0185.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0186.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0186.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0191.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0191.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0194.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0194.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0195.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0195.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0197.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0197.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0198.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0198.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0199.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0199.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0200.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0200.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0201.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0201.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0206.rs may not => cannot 2023-03-08 00:00:18 +00:00
E0206.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0207.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0207.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0208.rs internally change regions to be covariant 2023-01-27 04:04:22 +03:00
E0208.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0214.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0214.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0220.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0220.stderr Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
E0221.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0221.stderr Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
E0223.rs When suggesting writing a fully qualified path probe for appropriate types 2023-01-11 21:30:10 +00:00
E0223.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0225.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0225.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0227.rs Taint more aggressively in astconv 2024-01-11 09:03:26 +00:00
E0227.stderr Taint more aggressively in astconv 2024-01-11 09:03:26 +00:00
E0229.rs Rename HIR TypeBinding to AssocItemConstraint and related cleanup 2024-05-30 22:52:33 +02:00
E0229.stderr Rename HIR TypeBinding to AssocItemConstraint and related cleanup 2024-05-30 22:52:33 +02:00
E0252.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0252.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0253.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0253.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0254.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0254.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0255.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0255.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0259.rs Handle a few more simple tests 2024-05-20 11:13:10 -04:00
E0259.stderr Handle a few more simple tests 2024-05-20 11:13:10 -04:00
E0260.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0260.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0261.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0261.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0262.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0262.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0263.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0263.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0264.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0264.stderr Collect lang items from AST 2023-12-15 16:12:27 +00:00
E0267.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0267.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0268.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0268.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0271.rs write-long-types-to-disk: update tests 2023-07-25 12:08:44 +01:00
E0271.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0275.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0275.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0276.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0276.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0277-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0277-2.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
E0277-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0277-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0277.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0277.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
E0282.rs Reorder fullfillment errors to keep more interesting ones first 2023-10-04 02:04:14 +00:00
E0282.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0283.rs s/Generator/Coroutine/ 2023-10-20 21:10:38 +00:00
E0283.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
E0297.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0297.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0308-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0308-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0308-4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0308-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0308.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0308.stderr show unit output when there is only output diff in diagnostics 2024-07-06 21:00:30 +08:00
E0311.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0311.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0311.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0328.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0328.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0365.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0365.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0370.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0370.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0374.rs Stop bailing out from compilation just because there were incoherent traits 2024-02-05 10:17:31 +00:00
E0374.stderr Merge check_mod_impl_wf and check_mod_type_wf 2024-03-07 06:27:09 +00:00
E0375.rs Stop bailing out from compilation just because there were incoherent traits 2024-02-05 10:17:31 +00:00
E0375.stderr Merge check_mod_impl_wf and check_mod_type_wf 2024-03-07 06:27:09 +00:00
E0376.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0376.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0377.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0377.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0388.rs Always evaluate free constants and statics, even if previous errors occurred 2024-02-19 22:11:13 +00:00
E0388.stderr Always evaluate free constants and statics, even if previous errors occurred 2024-02-19 22:11:13 +00:00
E0389.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0389.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0390.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0390.stderr Tighter spans for bad inherent impl types 2023-02-13 18:41:18 +00:00
E0392.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0392.stderr Improve the diagnostics for unused generic parameters 2024-02-01 16:18:03 +01:00
E0393.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0393.stderr Better suggestion span for missing type parameter 2024-07-04 02:41:13 +00:00
E0396-fixed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0396-fixed.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0396.rs Use PlaceMention for match scrutinees. 2023-10-24 15:30:17 +00:00
E0396.stderr Always evaluate free constants and statics, even if previous errors occurred 2024-02-19 22:11:13 +00:00
E0401.rs don't skip coercions for types with errors 2024-02-10 23:13:47 +01:00
E0401.stderr don't skip coercions for types with errors 2024-02-10 23:13:47 +01:00
E0403.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0403.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0404.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0404.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0405.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0405.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0407.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0407.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0408.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0408.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0411.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0411.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0412.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0412.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0415.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0415.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0416.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0416.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0423.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0423.stderr Fix msg for verbose suggestions with confusable capitalization 2024-02-14 20:15:13 +00:00
E0424.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0424.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0425.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0425.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0426.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0426.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0428.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0428.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0429.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0429.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0430.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0430.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0431.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0431.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0432.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0432.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0433.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0433.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0434.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0434.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0435.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0435.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0435.stderr Use verbose style when suggesting changing const with let 2024-07-11 20:39:24 +00:00
E0437.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0437.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0438.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0438.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0446.rs Replace old private-in-public diagnostic with type privacy lints 2023-08-02 13:40:28 +03:00
E0446.stderr Replace old private-in-public diagnostic with type privacy lints 2023-08-02 13:40:28 +03:00
E0449.fixed Improve diagnostic by suggesting to remove visibility qualifier 2024-04-12 12:59:40 +09:00
E0449.rs Improve diagnostic by suggesting to remove visibility qualifier 2024-04-12 12:59:40 +09:00
E0449.stderr Improve diagnostic by suggesting to remove visibility qualifier 2024-04-12 12:59:40 +09:00
E0451.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0451.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0452.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0452.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
E0453.rs rustc_lint: Prevent multiple 'incompatible with previous forbid' lints 2023-12-28 19:46:40 +01:00
E0453.stderr rustc_lint: Prevent multiple 'incompatible with previous forbid' lints 2023-12-28 19:46:40 +01:00
E0454.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0454.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0458.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0458.stderr Enable link-arg link kind inside of #[link] attribute 2023-11-30 08:26:13 -08:00
E0459.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0459.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0462.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0462.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0464.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0464.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0476.next.stderr fix intercrate ambiguity causes 2023-11-23 12:25:41 +00:00
E0476.old.stderr fix intercrate ambiguity causes 2023-11-23 12:25:41 +00:00
E0476.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0478.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0478.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0492.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0492.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0496.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0496.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0499.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0499.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0501.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0501.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0502.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0502.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0503.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0503.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0504.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0504.stderr Mention when type parameter could be Clone 2024-04-24 22:21:15 +00:00
E0505.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0505.stderr Mention when type parameter could be Clone 2024-04-24 22:21:15 +00:00
E0506.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0506.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0507.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0507.stderr Mention when type parameter could be Clone 2024-04-24 22:21:15 +00:00
E0508-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0508-fail.stderr Mention when type parameter could be Clone 2024-04-24 22:21:15 +00:00
E0508.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0508.stderr Mention when type parameter could be Clone 2024-04-24 22:21:15 +00:00
E0509.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0509.stderr Mention when type parameter could be Clone 2024-04-24 22:21:15 +00:00
E0511.rs fix use of platform_intrinsics in tests 2024-02-25 08:15:44 +01:00
E0511.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0512.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0512.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0516.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0516.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0517.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0517.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0518.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0518.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0519.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0519.stderr Fix remaining cases 2024-06-21 19:00:18 -04:00
E0520.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0520.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0522.rs consistency rename: language item -> lang item 2024-04-17 13:00:43 +02:00
E0522.stderr consistency rename: language item -> lang item 2024-04-17 13:00:43 +02:00
E0523.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0523.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0527.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0527.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0528.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0528.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0529.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0529.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0530.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0530.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0532.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0532.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0534.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0534.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0559.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0559.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0560.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0560.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0565-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0565-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0565-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0565-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0565.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0565.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0572.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0572.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0582.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
E0582.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
E0583.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0583.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0585.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0585.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0586.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0586.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
E0594.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0594.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0596.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0596.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0597.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0597.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0599.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0599.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0600.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0600.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0601.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0601.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0602.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0602.stderr RFC 2383: Stabilize lint_reasons 🎉 2024-06-25 17:22:22 +02:00
E0603.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0603.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0604.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0604.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0605.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0605.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0606.rs special case removing & suggestion 2023-01-18 13:14:56 +13:00
E0606.stderr special case removing & suggestion 2023-01-18 13:14:56 +13:00
E0607.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0607.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0608.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0608.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0609-private-method.rs Don't suggest adding parentheses to call an inaccessible method. 2023-08-29 14:47:28 -07:00
E0609-private-method.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0609.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0609.stderr recover primary span label 2023-11-16 17:00:23 +00:00
E0610.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0610.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0614.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0614.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0615.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0615.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0616.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0616.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0617.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0617.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0618.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0618.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0620.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0620.stderr Update existing tests 2023-12-20 22:53:56 -05:00
E0621-does-not-trigger-for-closures.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0621-does-not-trigger-for-closures.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0622.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0622.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0624.rs diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
E0624.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0637.rs make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
E0637.stderr make type_flags(ReError) & HAS_ERROR 2024-03-20 17:29:58 +00:00
E0642.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0642.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0642.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0646.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0646.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0647.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0647.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0648.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0648.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0657.rs Improve error message for opaque captures 2024-03-08 19:08:13 +00:00
E0657.stderr Improve error message for opaque captures 2024-03-08 19:08:13 +00:00
E0658.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0658.stderr Bless tests 2024-01-13 12:46:58 -05:00
E0659.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0659.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0711.rs Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
E0711.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0718.rs consistency rename: language item -> lang item 2024-04-17 13:00:43 +02:00
E0718.stderr consistency rename: language item -> lang item 2024-04-17 13:00:43 +02:00
E0719.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
E0719.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
E0730.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0730.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0746.rs Simplify suggestion when returning bare dyn trait 2023-05-18 01:47:55 +00:00
E0746.stderr Simplify suggestion when returning bare dyn trait 2023-05-18 01:47:55 +00:00
E0767.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0767.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
E0771.rs improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
E0771.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0777.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0777.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0778.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0778.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0779.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0779.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
E0789.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
E0789.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
E0790.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0790.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
ex-E0611.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ex-E0611.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ex-E0612.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ex-E0612.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00