Files
rust/tests/ui
Trevor Gross a20fe8ff23 Rollup merge of #139909 - oli-obk:or-patterns, r=BoxyUwU
implement or-patterns for pattern types

These are necessary to represent `NonZeroI32`, as the range for that is `..0 | 1..`. The `rustc_scalar_layout_range_*` attributes avoided this by just implementing wraparound and having a single `1..=-1` range effectively. See https://rust-lang.zulipchat.com/#narrow/channel/481660-t-lang.2Fpattern-types/topic/.60or.20pattern.60.20representation.20in.20type.20system/with/504217694 for some background discussion

cc https://github.com/rust-lang/rust/issues/123646

r? `@BoxyUwU`
2025-04-29 12:28:22 -04:00
..
2025-03-03 08:52:07 +01:00
2025-04-24 03:20:19 +05:00
2025-04-25 19:13:41 +00:00
2025-02-27 10:26:33 +00:00
2024-12-12 23:36:27 +00:00
2025-03-11 20:26:10 -07:00
2025-02-24 18:48:40 +00:00
2025-04-03 21:41:58 +00:00
2024-12-12 23:36:27 +00:00
2025-04-25 20:50:57 +09:00
2025-04-25 12:16:40 +00:00
2025-04-25 20:50:57 +09:00
2025-01-28 19:35:51 +00:00
2025-04-25 17:02:59 +05:00
2025-04-27 17:25:15 +02:00
2025-04-15 11:14:23 +02:00
2025-04-21 16:16:38 +09:00
2025-02-27 20:02:25 +00:00
2025-04-25 20:50:57 +09:00
2025-04-25 17:02:59 +05:00
2025-03-30 01:32:21 +03:00
2025-04-04 09:44:19 +02:00
2025-03-11 20:26:10 -07:00
2025-04-14 10:36:13 +08:00
2025-01-29 15:45:13 +00:00
2025-03-27 14:11:11 +01:00
2025-04-28 07:50:18 +00:00
2025-04-25 20:50:57 +09:00
2025-02-27 10:26:33 +00:00
2025-04-03 21:41:58 +00:00
2025-02-04 21:42:43 +05:30
2025-04-03 21:41:58 +00:00
2025-04-04 16:32:18 +02:00