Chayim Refael Friedman
6bf3cbe39e
In rustc_pattern_analysis, put true witnesses before false witnesses
...
In rustc it doesn't really matter what the order of the witnesses is, but I'm planning to use the witnesses for implementing the "add missing match arms" assist in rust-analyzer, and there `true` before `false` is the natural order (like `Some` before `None`), and also what the current assist does.
The current order doesn't seem to be intentional; the code was created when bool ctors became their own thing, not just int ctors, but for integer, 0 before 1 is indeed the natural order.
2025-07-28 02:01:39 +03:00
..
2025-02-21 00:54:01 +00:00
2024-08-10 12:07:17 +02:00
2024-08-10 12:07:17 +02:00
2024-08-10 12:07:17 +02:00
2025-06-30 07:49:20 -05:00
2025-06-30 07:49:20 -05:00
2024-12-04 20:29:36 +00:00
2024-12-04 20:29:36 +00:00
2024-12-04 20:29:36 +00:00
2025-04-08 23:06:31 +03:00
2025-02-14 00:44:10 -08:00
2025-04-08 23:06:31 +03:00
2024-11-23 08:57:25 -07:00
2024-11-23 08:57:25 -07:00
2024-08-19 21:57:37 +02:00
2024-08-10 12:07:17 +02:00
2024-08-10 12:07:17 +02:00
2024-08-10 12:07:17 +02:00
2025-02-21 00:54:01 +00:00
2025-02-21 00:54:01 +00:00
2025-02-21 00:54:01 +00:00
2024-09-11 18:36:45 +02:00
2024-09-11 18:36:45 +02:00
2024-09-13 21:01:29 +02:00
2024-08-19 21:39:57 +02:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2024-11-26 02:50:48 +08:00
2024-08-19 21:39:57 +02:00
2024-08-19 21:39:57 +02:00
2024-08-19 21:39:57 +02:00
2024-08-19 21:39:57 +02:00
2024-08-19 21:39:57 +02:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03:00
2024-08-19 21:39:57 +02:00
2025-04-30 10:44:24 +03:00
2025-05-03 22:49:23 +03:00
2025-05-03 22:49:23 +03:00
2025-01-18 20:33:15 +00:00
2025-02-17 09:30:40 +11:00
2024-11-17 23:40:00 +00:00
2024-08-19 21:39:57 +02:00
2024-08-19 21:39:57 +02:00
2024-08-10 12:07:17 +02:00
2024-08-10 12:07:17 +02:00
2024-08-10 12:07:17 +02:00
2024-08-19 21:39:57 +02:00
2024-08-19 21:39:57 +02:00
2024-08-19 21:39:57 +02:00
2024-11-26 02:50:48 +08:00
2025-04-08 23:06:31 +03:00
2024-11-23 08:57:25 -07:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03:00
2024-09-13 21:01:29 +02:00
2024-09-13 21:01:29 +02:00
2024-09-13 21:01:29 +02:00
2024-08-10 12:07:17 +02:00
2024-08-10 12:07:17 +02:00
2024-08-10 12:07:17 +02:00
2024-08-19 21:39:57 +02:00
2024-08-19 21:39:57 +02:00
2024-08-19 21:39:57 +02:00
2024-11-17 23:40:00 +00:00
2024-08-19 21:39:57 +02:00
2025-04-08 23:06:31 +03:00
2025-02-14 00:44:10 -08:00
2025-04-08 23:06:31 +03:00
2024-08-19 21:39:57 +02:00
2024-08-19 21:39:57 +02:00
2025-06-03 13:35:31 +02:00
2025-07-28 02:01:39 +03:00
2025-07-28 02:01:39 +03:00
2025-04-08 23:06:31 +03:00
2025-02-21 00:41:17 +00:00
2025-04-08 23:06:31 +03:00