rust/src/test/ui/enum-discriminant
Michael Benfield 31c0645b9d rustc_codegen_ssa: Fix for codegen_get_discr
When doing the optimized implementation of getting the discriminant, the
arithmetic needs to be done in the tag type so wrapping behavior works
correctly.

Fixes #104519
2022-11-18 21:16:12 +00:00
..
actually_not_an_enum-discriminant.rs
arbitrary_enum_discriminant-no-repr.rs Stabilize arbitrary_enum_discriminant, take 2 2022-10-22 13:54:39 +08:00
arbitrary_enum_discriminant-no-repr.stderr Bless tests 2022-10-22 13:54:41 +08:00
arbitrary_enum_discriminant.rs Stabilize arbitrary_enum_discriminant, take 2 2022-10-22 13:54:39 +08:00
discriminant_size.rs
discriminant_size.stderr
discriminant_value-wrapper.rs
discriminant_value.rs Stabilize arbitrary_enum_discriminant, take 2 2022-10-22 13:54:39 +08:00
forbidden-discriminant-kind-impl.rs
forbidden-discriminant-kind-impl.stderr
get_discr.rs rustc_codegen_ssa: Better code generation for niche discriminants. 2022-11-11 05:54:30 +00:00
issue-43398.rs
issue-43398.stderr
issue-46519.rs Move tests 2022-11-12 09:51:53 -03:00
issue-51582.rs
issue-70453-generics-in-discr-ice-2.rs Stabilize arbitrary_enum_discriminant, take 2 2022-10-22 13:54:39 +08:00
issue-70453-generics-in-discr-ice-2.stderr
issue-70453-generics-in-discr-ice.rs
issue-70453-generics-in-discr-ice.stderr
issue-70453-polymorphic-ctfe.rs Stabilize arbitrary_enum_discriminant, take 2 2022-10-22 13:54:39 +08:00
issue-70453-polymorphic-ctfe.stderr
issue-70509-partial_eq.rs Stabilize arbitrary_enum_discriminant, take 2 2022-10-22 13:54:39 +08:00
issue-70509-partial_eq.stderr Stabilize arbitrary_enum_discriminant, take 2 2022-10-22 13:54:39 +08:00
issue-90038.rs
issue-104519.rs rustc_codegen_ssa: Fix for codegen_get_discr 2022-11-18 21:16:12 +00:00
niche-prefer-zero.rs
niche.rs
repr128.rs
repr128.stderr