rust/tests/ui/const-generics/issues
Esteban Küber f0845adb0c Show diff suggestion format on verbose replacement
```
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/attempted-access-non-fatal.rs:7:15
   |
LL |     let _ = 2.l;
   |               ^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix
   |
LL -     let _ = 2.l;
LL +     let _ = 2.0f64;
   |
```
2025-02-10 20:21:39 +00:00
..
auxiliary Remove some unnecessary allow(incomplete_features) 2024-03-11 19:42:04 +00:00
cg-in-dyn-issue-128176.rs Add comment to test 2024-12-04 00:19:26 +00:00
index_array_bad_type.rs Properly check that array length is valid type during built-in unsizing in index 2025-01-28 17:52:28 +00:00
index_array_bad_type.stderr Properly check that array length is valid type during built-in unsizing in index 2025-01-28 17:52:28 +00:00
issue-56445-1.full.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-56445-1.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-56445-1.rs fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-56445-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-56445-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-56445-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-56445-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-60818-struct-constructors.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-61336-1.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-61336-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61336-2.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
issue-61336.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-61336.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
issue-61422.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-61432.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-62187-encountered-polymorphic-const.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-62878.full.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-62878.min.stderr Bless and add tests 2025-01-23 06:01:36 +00:00
issue-62878.rs Bless and add tests 2025-01-23 06:01:36 +00:00
issue-63322-forbid-dyn.full.stderr Split part of `adt_const_params` into `unsized_const_params` 2024-07-17 11:01:29 +01:00
issue-63322-forbid-dyn.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-63322-forbid-dyn.rs Split part of `adt_const_params` into `unsized_const_params` 2024-07-17 11:01:29 +01:00
issue-64519.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-66596-impl-trait-for-str-const-arg.rs Split part of `adt_const_params` into `unsized_const_params` 2024-07-17 11:01:29 +01:00
issue-66906.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-67185-1.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-67185-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67185-2.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
issue-67375.full.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-67375.min.stderr Improve the diagnostics for unused generic parameters 2024-02-01 16:18:03 +01:00
issue-67375.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-67739.full.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
issue-67739.min.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-67739.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-67945-1.full.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-67945-1.min.stderr Improve the diagnostics for unused generic parameters 2024-02-01 16:18:03 +01:00
issue-67945-1.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-67945-2.full.stderr Tweak multispan rendering 2024-12-12 23:36:27 +00:00
issue-67945-2.min.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-67945-2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-67945-3.full.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-67945-3.min.stderr Improve the diagnostics for unused generic parameters 2024-02-01 16:18:03 +01:00
issue-67945-3.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-67945-4.full.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-67945-4.min.stderr Improve the diagnostics for unused generic parameters 2024-02-01 16:18:03 +01:00
issue-67945-4.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-68104-print-stack-overflow.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-68366.full.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-68366.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-68366.rs Merge `check_mod_impl_wf` and `check_mod_type_wf` 2024-03-07 06:27:09 +00:00
issue-68596.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-68615-adt.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-68615-adt.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-68615-array.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-68615-array.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-69654-run-pass.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-69654-run-pass.stderr Update tests 2024-02-07 10:42:01 +08:00
issue-70125-1.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-70125-2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-70167.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-70180-1-stalled_on.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-70180-2-stalled_on.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-70225.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-70273-assoc-fn.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-71169.full.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-71169.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-71169.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-71202.rs Check that return type is WF in typeck 2024-03-06 16:51:17 +05:30
issue-71202.stderr Tweak multispan rendering 2024-12-12 23:36:27 +00:00
issue-71381.full.stderr Avoid follow-up errors and ICEs after missing lifetime errors on data structures 2024-07-11 11:00:15 +00:00
issue-71381.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-71381.rs Avoid follow-up errors and ICEs after missing lifetime errors on data structures 2024-07-11 11:00:15 +00:00
issue-71382.full.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-71382.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-71382.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-71547.rs Split part of `adt_const_params` into `unsized_const_params` 2024-07-17 11:01:29 +01:00
issue-71611.full.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-71611.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-71611.rs Allow type_of to return partially non-error types if the type was already tainted 2024-05-28 11:55:20 +00:00
issue-71986.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-72352.full.stderr Use the correct char type on all platforms 2024-02-14 11:12:19 +00:00
issue-72352.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-72352.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-72845.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72845.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-73120.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-73260.rs Remove save-analysis. 2023-02-16 15:14:45 +11:00
issue-73260.stderr Specify what 'this' actually is 2023-02-21 05:21:07 +00:00
issue-73491.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-73491.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-73727-static-reference-array-const-param.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-73727-static-reference-array-const-param.rs Split part of `adt_const_params` into `unsized_const_params` 2024-07-17 11:01:29 +01:00
issue-74101.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-74101.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-74255.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-74255.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-74906.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-74950.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-74950.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-75047.min.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
issue-75047.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-75299.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-76701-ty-param-in-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-76701-ty-param-in-const.stderr generic_const_exprs: suggest to add the feature, not use it 2023-11-30 20:59:51 +01:00
issue-79674.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79674.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
issue-80062.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-80062.stderr generic_const_exprs: suggest to add the feature, not use it 2023-11-30 20:59:51 +01:00
issue-80375.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-80375.stderr generic_const_exprs: suggest to add the feature, not use it 2023-11-30 20:59:51 +01:00
issue-82956.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-82956.stderr Add multi-producer, multi-consumer channel (mpmc) 2024-09-30 20:43:51 +03:00
issue-83249.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83249.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83288.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-83466.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83466.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83765.rs Reorder `check_item_type` diagnostics so they occur next to the corresponding `check_well_formed` diagnostics 2024-01-02 14:17:56 +00:00
issue-83765.stderr Move `Const::{from_anon_const,try_from_lit}` to hir_ty_lowering 2024-12-02 19:34:47 +00:00
issue-84659.fixed Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
issue-84659.rs Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
issue-84659.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
issue-85031-2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-85031-2.stderr Fix known-bug, silence ICE stderr 2023-01-19 20:20:58 +00:00
issue-86033.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-86530.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86530.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-86535-2.rs Revert "Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix" 2024-08-03 07:57:31 -04:00
issue-86535.rs Revert "Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix" 2024-08-03 07:57:31 -04:00
issue-86820.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86820.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-87076.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-87470.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-87493.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
issue-87493.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-87964.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-88119.rs Yeet effects feature 2024-11-03 18:59:31 +00:00
issue-88119.stderr Manually walk into WF obligations in BestObligation proof tree visitor 2025-01-31 18:21:58 +00:00
issue-88468.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-88997.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-88997.stderr improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
issue-89146.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-89304.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-89320.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-89334.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-90318.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
issue-90318.stderr Deny calls to non-`#[const_trait]` methods in MIR constck 2024-10-26 11:35:56 +08:00
issue-90364.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90364.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-90455.fixed Split part of `adt_const_params` into `unsized_const_params` 2024-07-17 11:01:29 +01:00
issue-90455.rs Split part of `adt_const_params` into `unsized_const_params` 2024-07-17 11:01:29 +01:00
issue-90455.stderr Provide structured suggestion for unconstrained generic constant 2024-03-21 00:03:59 +00:00
issue-92186.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-96654.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-97278.rs Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
issue-97278.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-97634.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-98629.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-98629.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-99641.rs Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
issue-99641.stderr Split part of `adt_const_params` into `unsized_const_params` 2024-07-17 11:01:29 +01:00
issue-100313.rs stabilize const_mut_refs 2024-09-15 09:51:32 +02:00
issue-100313.stderr stabilize const_mut_refs 2024-09-15 09:51:32 +02:00
issue-105037.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-105821.rs Split part of `adt_const_params` into `unsized_const_params` 2024-07-17 11:01:29 +01:00