diff options
author | bors <bors@rust-lang.org> | 2022-12-04 20:05:32 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-12-04 20:05:32 +0000 |
commit | 53e4b9dd74c29cc9308b8d0f10facac70bb101a7 (patch) | |
tree | b770ff68bf5b62e8a8171b4f0511ce48762a6d69 /tests/rustdoc-js-std/parser-errors.js | |
parent | 0f0d5d716a00c1f29cfbf240e12bdccc4f9b9a94 (diff) | |
parent | 31c0645b9d2539f47eecb096142474b29dc542f7 (diff) | |
download | rust-53e4b9dd74c29cc9308b8d0f10facac70bb101a7.tar.gz |
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 #104519
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions