rust/tests/ui/enum-discriminant
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 Encode VariantIdx so we can decode variants in the right order 2023-05-13 00:26:35 +00:00
actually_not_an_enum-discriminant.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
arbitrary_enum_discriminant-no-repr.rs
arbitrary_enum_discriminant-no-repr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
arbitrary_enum_discriminant.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
discr-foreign.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
discriminant-ill-typed.rs Move tests from `ui/discrim` dir 2023-06-08 12:33:17 +00:00
discriminant-ill-typed.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
discriminant-overflow-2.rs Move tests from `ui/discrim` dir 2023-06-08 12:33:17 +00:00
discriminant-overflow-2.stderr Move tests from `ui/discrim` dir 2023-06-08 12:33:17 +00:00
discriminant-overflow.rs Move tests from `ui/discrim` dir 2023-06-08 12:33:17 +00:00
discriminant-overflow.stderr Move tests from `ui/discrim` dir 2023-06-08 12:33:17 +00:00
discriminant_size.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
discriminant_size.stderr
discriminant_value-wrapper.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
discriminant_value.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
eval-error.rs Add `TooGeneric` variant to `LayoutError` and emit `Unknown` one 2025-01-27 00:37:34 +01:00
eval-error.stderr Add `TooGeneric` variant to `LayoutError` and emit `Unknown` one 2025-01-27 00:37:34 +01:00
forbidden-discriminant-kind-impl.rs
forbidden-discriminant-kind-impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
get_discr.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-41394-rpass.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-41394.rs Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
issue-41394.stderr fix ICE on type error in promoted 2024-12-09 15:17:26 +01:00
issue-43398.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-43398.stderr
issue-46519.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-50689.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-51582.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-61696.rs Update tests 2024-08-10 12:07:17 +02:00
issue-70453-generics-in-discr-ice-2.rs improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
issue-70453-generics-in-discr-ice-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-70453-generics-in-discr-ice.rs improve diagnostics and bless tests 2023-05-05 21:42:54 +01:00
issue-70453-generics-in-discr-ice.stderr Improve the diagnostics for unused generic parameters 2024-02-01 16:18:03 +01:00
issue-70453-polymorphic-ctfe.rs
issue-70453-polymorphic-ctfe.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-70509-partial_eq.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-70509-partial_eq.stderr
issue-72554.rs Remove track_errors entirely 2024-01-23 15:23:22 +00:00
issue-72554.stderr Remove track_errors entirely 2024-01-23 15:23:22 +00:00
issue-90038.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-104519.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
niche-prefer-zero.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
niche.rs Update tests 2024-08-10 12:07:17 +02:00
ptr_niche.rs add tests for niches in pointers 2024-11-30 16:00:55 +01:00
repr128.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
repr128.stderr