Files
rust/compiler
Matthias Krüger f6d324fb8d Rollup merge of #142339 - oli-obk:not-null-pattern-types, r=BoxyUwU
Add NonNull pattern types

These are the final piece missing for

* https://github.com/rust-lang/rust/pull/136006

We cannot use the previous scheme of using an integer range for raw pointers, as we're not just changing the layout of raw pointers anymore, but also the type representation. And we can't represent "any provenance or NonZero<usize>" natively as patterns. So I created a new `!null` pattern. Since this is all unstable representation stuff for replacing rustc_layout_scalar_range_start with pattern types, the divergence from normal patterns is fine, especially since T-lang seems interested in exploring general negation patterns

r? `@BoxyUwU`
2025-10-22 07:12:09 +02:00
..
2025-10-12 08:08:30 +00:00
2025-10-20 20:50:44 +00:00
2025-10-12 08:08:30 +00:00
2025-10-12 08:08:30 +00:00
2025-10-19 19:48:21 +02:00
2025-10-17 08:36:34 -05:00