diff options
author | Michael Benfield <mbenfield@google.com> | 2022-11-17 15:03:02 +0000 |
---|---|---|
committer | Michael Benfield <mbenfield@google.com> | 2022-11-18 21:16:12 +0000 |
commit | 31c0645b9d2539f47eecb096142474b29dc542f7 (patch) | |
tree | 30828b9875ceedf215a0858810ebeb08b5ad5e94 /tests/rustdoc-js-std/parser-errors.js | |
parent | fd3bfb35511cbcff59ce1454d3db627b576d7e92 (diff) | |
download | rust-31c0645b9d2539f47eecb096142474b29dc542f7.tar.gz |
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