Commit 1aecbe2
committed
Auto merge of #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 #104519File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments