rust/compiler/rustc_mir_transform
Matthias Krüger ddda937701
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.
2025-07-03 05:21:32 +02:00
..
src Rollup merge of #143273 - 1c3t3a:enum-check-negative, r=SparrowLii 2025-07-03 05:21:32 +02:00
Cargo.toml don't depend on rustc_attr_parsing if rustc_data_structures will do 2025-05-09 23:16:55 +02:00
messages.ftl Make UNNECESSARY_TRANSMUTES into a HIR lint 2025-05-25 15:57:48 +00:00