about summary refs log tree commit diff
path: root/src/test/rustdoc/impl-in-const-block.rs
diff options
context:
space:
mode:
authorMichael Benfield <mbenfield@google.com>2022-11-17 15:03:02 +0000
committerMichael Benfield <mbenfield@google.com>2022-11-18 21:16:12 +0000
commit31c0645b9d2539f47eecb096142474b29dc542f7 (patch)
tree30828b9875ceedf215a0858810ebeb08b5ad5e94 /src/test/rustdoc/impl-in-const-block.rs
parentfd3bfb35511cbcff59ce1454d3db627b576d7e92 (diff)
downloadrust-31c0645b9d2539f47eecb096142474b29dc542f7.tar.gz
rust-31c0645b9d2539f47eecb096142474b29dc542f7.zip
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 'src/test/rustdoc/impl-in-const-block.rs')
0 files changed, 0 insertions, 0 deletions