Logo
Explore Help
Register Sign In
Mirrors/rust
1
0
Fork 0
You've already forked rust
mirror of https://github.com/rust-lang/rust.git synced 2026-05-01 07:13:24 +03:00
Code Issues Packages Projects Releases Wiki Activity
Files
3c7bf9fe01aacd7205c755cb898c94de68fcd1fd
rust/tests/ui/mir/enum
T
History
Bastian Kersting 8a0d8dde44 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.
2025-07-02 20:02:27 +03:00
..
convert_non_enum_break.rs
…
convert_non_enum_niche_break.rs
…
convert_non_enum_niche_ok.rs
…
convert_non_enum_ok.rs
…
negative_discr_break.rs
Make the enum check work for negative discriminants
2025-07-02 20:02:27 +03:00
negative_discr_ok.rs
Make the enum check work for negative discriminants
2025-07-02 20:02:27 +03:00
niche_option_tuple_break.rs
…
niche_option_tuple_ok.rs
…
numbered_variants_break.rs
…
numbered_variants_ok.rs
…
option_with_bigger_niche_break.rs
…
option_with_bigger_niche_ok.rs
…
plain_no_data_break.rs
…
plain_no_data_ok.rs
…
single_ok.rs
…
single_with_repr_break.rs
…
single_with_repr_ok.rs
…
with_niche_int_break.rs
…
with_niche_int_ok.rs
…
with_niche_ptr_ok.rs
…
wrap_break.rs
…
wrap_ok.rs
…
Powered by Gitea Version: 1.26.0 Page: 1152ms Template: 3ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API