diff options
| author | Bastian Kersting <bkersting@google.com> | 2025-07-01 08:59:52 +0000 |
|---|---|---|
| committer | Bastian Kersting <bkersting@google.com> | 2025-07-02 20:02:27 +0300 |
| commit | 8a0d8dde44b3b413488aa69caebc9cc3fb0f7edf (patch) | |
| tree | 0ee83fc516c1e41a6ae154285758775300653c0d /tests/coverage/branch/generics.rs | |
| parent | f51c9870bab634afb9e7a262b6ca7816bb9e940d (diff) | |
| download | rust-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
