Nicholas Nethercote
f8edc831ca
Pretty-print PatKind::Missing
as _
.
...
Printing "no pattern" as `_` isn't ideal, but better than crashing, and
HIR pretty-printing already has plenty of imperfections. The added `f2`
and `f6` examples are ones that triggered the crash.
Note that some of the added examples are printed badly, e.g.
`fn(, ...)`. The next commit will fix those.
Fixes #139633 .
2025-04-15 10:40:58 +10:00
..
2025-04-09 18:46:50 +08:00
2025-04-10 09:30:55 +10:00
2025-04-11 13:31:49 +10:00
2025-04-07 22:29:17 +10:00
2025-04-10 09:30:55 +10:00
2025-04-10 17:27:14 +02:00
2025-04-10 17:27:14 +02:00
2025-04-11 13:59:33 +00:00
2025-04-07 20:48:40 +00:00
2025-04-11 21:21:02 +02:00
2025-04-11 13:59:33 +00:00
2025-04-03 09:17:55 +00:00
2025-04-11 21:20:59 +02:00
2025-04-12 21:05:28 +00:00
2025-04-09 07:57:13 +00:00
2025-04-09 12:29:59 +01:00
2025-04-09 14:52:38 +02:00
2025-04-10 09:39:21 +10:00
2025-04-09 12:29:59 +01:00
2025-04-12 11:34:04 +02:00
2025-04-11 13:31:43 +10:00
2025-04-15 10:40:58 +10:00
2025-04-10 17:27:14 +02:00
2025-04-08 10:51:41 +08:00
2025-04-11 13:59:33 +00:00
2025-04-04 14:44:45 +02:00
2025-04-10 17:27:14 +02:00
2025-04-03 09:22:21 +00:00
2025-04-05 11:44:38 -07:00
2025-04-10 13:39:23 +00:00
2025-04-11 07:34:27 +00:00
2025-04-11 21:21:01 +02:00
2025-04-07 16:53:11 -03:00
2025-04-10 18:40:25 +00:00
2025-04-11 07:34:27 +00:00
2025-04-10 04:03:59 +00:00
2025-04-11 21:21:01 +02:00
2025-04-04 22:26:10 +02:00
2025-04-11 11:36:40 -07:00
2025-04-07 22:41:48 +00:00
2025-04-02 07:35:05 +02:00
2025-04-05 14:41:08 +02:00
2025-04-11 21:21:01 +02:00
2025-04-11 19:08:14 +10:00
2025-04-10 18:52:03 +02:00
2025-04-07 20:48:40 +00:00
2025-04-06 21:32:58 +02:00
2025-04-11 21:21:01 +02:00
2025-04-11 19:08:14 +10:00
2025-04-06 21:32:58 +02:00
2025-04-11 13:31:48 +10:00
2025-04-11 19:08:14 +10:00
2025-04-10 04:03:59 +00:00
2025-04-05 18:23:07 +08:00