Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
61bdd11b20042dba8d385efda41b76f499acda80
rust/tests/ui/mir/enum
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
…
negative_discr_ok.rs
…
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.24.6 Page: 1104ms Template: 6ms
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