Skip to content

Commit 97fb4fa

Browse files
committed
Auto merge of rust-lang#104535 - mikebenfield:discr-fix, r=pnkfelix
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 rust-lang#104519
2 parents 0460c12 + 57843c6 commit 97fb4fa

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)