about summary refs log tree commit diff
path: root/tests/coverage/branch/generics.rs
diff options
context:
space:
mode:
authorBastian Kersting <bkersting@google.com>2025-07-01 08:59:52 +0000
committerBastian Kersting <bkersting@google.com>2025-07-02 20:02:27 +0300
commit8a0d8dde44b3b413488aa69caebc9cc3fb0f7edf (patch)
tree0ee83fc516c1e41a6ae154285758775300653c0d /tests/coverage/branch/generics.rs
parentf51c9870bab634afb9e7a262b6ca7816bb9e940d (diff)
downloadrust-8a0d8dde44b3b413488aa69caebc9cc3fb0f7edf.tar.gz
rust-8a0d8dde44b3b413488aa69caebc9cc3fb0f7edf.zip
Make the enum check work for negative discriminants
The discriminant check was not working correctly for negative numbers.
This change fixes that by masking out the relevant bits correctly.
Diffstat (limited to 'tests/coverage/branch/generics.rs')
0 files changed, 0 insertions, 0 deletions