rust/tests/ui/enum-discriminant
2026-02-17 08:45:08 +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 Remove dead code and extend test coverage and diagnostics around it 2025-07-24 10:21:20 +00:00
arbitrary_enum_discriminant-no-repr.stderr Remove dead code and extend test coverage and diagnostics around it 2025-07-24 10:21:20 +00: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 UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03: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 compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
discriminant-overflow.stderr compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
discriminant_size.rs do not complain about enums where all discriminants fit into a c_uint 2025-11-04 11:44:55 +01:00
discriminant_value-wrapper.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
discriminant_value.rs remove #![allow(stable_features)] from most tests 2026-02-17 08:45:08 +00:00
enum-discriminant-const-eval-truncation-9837.rs Rehome tests/ui/issues/ tests [4/?] 2025-08-10 11:54:15 -04:00
eval-error.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
eval-error.stderr Unconditionally run check_item_type on all items 2025-06-30 08:06:08 +00:00
forbidden-discriminant-kind-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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
ice-from-type-error-issue-148515.rs Fix ICE from lit_to_mir_constant caused by type error 2025-11-05 20:26:43 +08:00
ice-from-type-error-issue-148515.stderr Merge E0412 into E0425 2025-12-02 18:25:13 +00:00
invalid-niche-discriminant.normal.stderr Use a delayed bug for this layout ICE 2025-11-28 14:49:42 -08:00
invalid-niche-discriminant.rs Use a delayed bug for this layout ICE 2025-11-28 14:49:42 -08:00
invalid-niche-discriminant.with_delayed.stderr Use a delayed bug for this layout ICE 2025-11-28 14:49:42 -08: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-46519.rs Report uninhabited call return types on MIR. 2025-10-11 20:50:20 +00:00
issue-46519.stderr Report uninhabited call return types on MIR. 2025-10-11 20:50:20 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Stabilise repr128 2025-05-28 15:14:34 +01:00
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
repr-c-big-discriminant1.ptr32.stderr do not complain about enums where all discriminants fit into a c_uint 2025-11-04 11:44:55 +01:00
repr-c-big-discriminant1.ptr64.stderr do not complain about enums where all discriminants fit into a c_uint 2025-11-04 11:44:55 +01:00
repr-c-big-discriminant1.rs do not complain about enums where all discriminants fit into a c_uint 2025-11-04 11:44:55 +01:00
repr-c-big-discriminant2.ptr32.stderr do not complain about enums where all discriminants fit into a c_uint 2025-11-04 11:44:55 +01:00
repr-c-big-discriminant2.ptr64.stderr do not complain about enums where all discriminants fit into a c_uint 2025-11-04 11:44:55 +01:00
repr-c-big-discriminant2.rs do not complain about enums where all discriminants fit into a c_uint 2025-11-04 11:44:55 +01:00
repr128-get-discriminant-issue-43398.rs Stabilise repr128 2025-05-28 15:14:34 +01:00
repr128.rs Stabilise repr128 2025-05-28 15:14:34 +01:00
wrapping_niche.rs Add regression test 2025-07-28 10:29:02 +00:00
wrapping_niche.stderr layout: Store inverse memory index in FieldsShape::Arbitrary 2025-12-18 22:25:34 +01:00