about summary refs log tree commit diff
path: root/tests/coverage/branch
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-03 05:21:32 +0200
committerGitHub <noreply@github.com>2025-07-03 05:21:32 +0200
commitddda937701571bcebd3358d225199ae4bc55ea32 (patch)
tree3ed0636a6fb41c466321f810ef82f9bc737a289c /tests/coverage/branch
parentc3e3f43f2a801c2b7de136b62d6731d99e5fdf49 (diff)
parent8a0d8dde44b3b413488aa69caebc9cc3fb0f7edf (diff)
downloadrust-ddda937701571bcebd3358d225199ae4bc55ea32.tar.gz
rust-ddda937701571bcebd3358d225199ae4bc55ea32.zip
Rollup merge of #143273 - 1c3t3a:enum-check-negative, r=SparrowLii
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.

Fixes rust-lang/rust#143218.
Diffstat (limited to 'tests/coverage/branch')
0 files changed, 0 insertions, 0 deletions