Matthias Krüger
8ff355aefe
Rollup merge of #135195 - oli-obk:push-toyoyrupruko, r=lcnr
...
Make `lit_to_mir_constant` and `lit_to_const` infallible
My motivation for this change is just that it's annoying to check everywhere, especially since all but one call site was just ICEing on errors anyway right there.
They can still fail, but now just return an error constant instead of having the caller handle the error.
fixes #114317
fixes #126182
2025-01-09 14:34:41 +01:00
..
2024-12-27 19:58:16 +11:00
2024-12-27 19:58:16 +11:00
2025-01-02 23:39:17 +00:00
2024-12-23 22:15:32 +00:00
2024-12-22 14:49:01 +08:00
2024-12-27 11:44:23 +01:00
2025-01-08 12:37:54 +00:00
2025-01-06 16:12:11 -08:00
2025-01-03 12:01:31 +01:00
2025-01-06 17:58:30 +00:00
2025-01-01 15:58:29 +01:00
2025-01-06 16:08:29 -08:00
2024-12-31 02:21:17 +00:00
2025-01-06 16:08:29 -08:00
2025-01-06 16:12:11 -08:00
2025-01-06 10:29:54 +01:00
2025-01-07 16:13:43 +01:00
2024-12-31 15:11:18 +08:00
2024-12-27 19:58:16 +11:00
2024-12-28 13:57:13 +11:00
2025-01-09 08:48:00 +00:00
2024-12-27 19:58:16 +11:00
2025-01-08 18:14:58 +00:00
2025-01-08 12:37:54 +00:00
2024-12-25 19:23:48 +11:00
2024-12-27 19:58:16 +11:00
2024-12-27 12:42:07 +11:00
2025-01-06 15:38:02 +03:00
2024-12-27 19:58:16 +11:00
2025-01-08 16:02:44 +00:00
2025-01-06 16:12:04 -08:00
2025-01-06 15:47:49 +08:00
2025-01-02 19:16:00 +01:00
2024-12-22 21:59:27 +01:00
2025-01-06 17:58:30 +00:00
2024-12-26 17:41:43 +00:00
2024-12-27 19:58:16 +11:00
2024-12-23 22:15:32 +00:00
2025-01-01 15:58:29 +01:00
2025-01-08 00:52:49 -05:00
2024-12-30 06:14:26 -08:00
2025-01-06 16:12:11 -08:00
2025-01-03 05:01:14 +00:00
2025-01-02 23:39:16 +00:00
2024-12-31 02:21:17 +00:00
2024-12-27 19:58:16 +11:00
2025-01-01 15:58:29 +01:00
2025-01-08 18:14:58 +00:00
2024-12-27 19:58:16 +11:00
2024-12-31 23:46:39 +08:00
2024-12-31 23:46:39 +08:00
2024-12-31 23:46:39 +08:00
2024-12-27 19:58:16 +11:00
2025-01-06 16:08:29 -08:00
2025-01-04 12:50:38 +00:00
2024-12-27 19:58:16 +11:00
2025-01-08 18:00:26 +00:00
2024-12-27 19:58:16 +11:00
2025-01-06 16:12:11 -08:00
2025-01-06 16:08:29 -08:00
2024-12-27 19:58:16 +11:00
2025-01-01 15:58:29 +01:00
2025-01-06 16:12:11 -08:00
2024-12-27 19:58:16 +11:00
2024-12-31 02:25:35 +00:00
2025-01-06 03:17:04 +00:00
2024-12-27 19:58:16 +11:00
2025-01-08 07:34:59 +00:00
2025-01-06 16:12:11 -08:00
2024-12-27 19:58:16 +11:00
2025-01-01 15:58:29 +01:00
2024-12-27 19:58:16 +11:00
2025-01-06 03:55:19 +00:00
2025-01-06 16:12:11 -08:00
2024-12-27 19:58:16 +11:00
2024-12-27 19:58:16 +11:00
2025-01-01 15:58:29 +01:00
2025-01-04 12:50:38 +00:00
2025-01-08 18:21:02 +01:00
2024-12-27 19:58:16 +11:00
2025-01-06 17:58:30 +00:00
2025-01-01 15:58:29 +01:00
2024-12-24 19:12:13 +00:00
2024-12-27 19:58:16 +11:00
2025-01-08 12:37:54 +00:00
2025-01-09 08:48:00 +00:00
2025-01-07 21:36:37 +01:00
2025-01-01 15:58:29 +01:00
2024-12-27 19:58:16 +11:00
2024-12-28 11:19:16 +08:00
2024-12-21 01:30:16 +01:00
2025-01-06 17:58:30 +00:00
2024-12-23 22:15:32 +00:00
2024-12-27 19:58:16 +11:00
2025-01-01 19:32:51 +00:00
2024-12-31 18:06:01 +00:00
2025-01-06 16:12:11 -08:00
2024-12-27 19:58:16 +11:00
2025-01-06 06:11:06 +00:00
2025-01-05 23:21:06 +00:00
2025-01-01 15:58:29 +01:00
2024-12-25 10:36:32 +01:00
2024-12-23 20:25:41 +00:00
2025-01-01 15:58:29 +01:00
2025-01-08 18:14:58 +00:00
2024-12-27 19:58:16 +11:00
2025-01-01 15:58:29 +01:00
2024-12-27 19:58:16 +11:00
2025-01-06 17:58:30 +00:00
2025-01-06 20:59:32 +01:00
2025-01-06 16:08:29 -08:00
2025-01-06 16:08:29 -08:00
2025-01-08 07:34:59 +00:00
2024-12-22 21:57:57 +00:00
2025-01-06 16:12:11 -08:00
2024-12-27 19:58:16 +11:00
2025-01-03 05:01:14 +00:00
2025-01-06 03:55:19 +00:00
2025-01-06 03:55:19 +00:00
2024-12-27 19:58:16 +11:00