bors
4396ceca05
Auto merge of #109753 - compiler-errors:replenish-region-constraints, r=aliemjay
...
Clone region var origins instead of taking them in borrowck
Fixes an issue with the new solver where reporting a borrow-checker error ICEs because it calls `InferCtxt::evaluate_obligation`.
This also removes a handful of unnecessary `tcx.infer_ctxt().build()` calls that are only there to mitigate this same exact issue, but with the old solver.
Fixes compiler-errors/next-solver-hir-issues#12 .
----
This implements `@aliemjay's` solution where we just don't *take* the region constraints, but clone them. This potentially makes it easier to write a bug about taking region constraints twice or never at all, but again, not many folks are touching this code.
2023-04-22 15:15:51 +00:00
..
2023-04-16 08:35:50 -07:00
2023-04-16 08:35:50 -07:00
2023-04-11 03:07:58 +00:00
2023-04-12 22:50:10 +00:00
2023-04-15 07:46:46 +00:00
2023-04-12 20:56:22 +02:00
2023-04-20 15:06:17 -03:00
2023-04-21 06:44:29 +02:00
2023-04-17 12:42:02 +00:00
2023-04-13 22:08:07 -05:00
2023-04-12 22:50:10 +00:00
2023-04-21 21:34:59 +00:00
2023-04-12 22:50:10 +00:00
2023-04-20 18:01:07 +00:00
2023-04-11 17:45:42 +00:00
2023-04-16 23:09:57 +00:00
2023-04-15 16:11:42 -07:00
2023-04-12 22:50:10 +00:00
2023-04-15 16:11:42 -07:00
2023-04-16 11:38:52 +00:00
2023-04-22 01:13:54 +00:00
2023-04-15 16:11:42 -07:00
2023-04-11 17:45:42 +00:00
2023-04-12 22:50:10 +00:00
2023-04-12 22:50:10 +00:00
2023-04-16 11:38:52 +00:00
2023-04-08 21:11:16 +00:00
2023-04-20 15:06:17 -03:00
2023-04-17 16:09:18 -04:00
2023-04-21 08:40:00 +08:00
2023-04-16 08:35:50 -07:00
2023-04-12 22:50:10 +00:00
2023-04-19 19:13:45 +00:00
2023-04-19 23:37:41 +00:00
2023-04-22 01:13:54 +00:00
2023-04-10 16:36:30 +00:00
2023-04-14 21:11:13 +02:00
2023-04-21 08:04:58 +00:00
2023-04-14 20:18:28 +12:00
2023-04-12 22:50:10 +00:00
2023-04-07 18:07:11 +10:00
2023-04-11 17:45:42 +00:00
2023-04-15 16:11:42 -07:00
2023-04-12 22:50:10 +00:00
2023-04-13 22:08:07 -05:00
2023-04-21 16:14:43 +00:00
2023-04-12 22:50:10 +00:00
2023-04-12 22:50:10 +00:00
2023-04-10 06:52:41 +00:00
2023-04-21 01:26:57 +00:00
2023-04-15 07:46:46 +00:00
2023-04-21 02:45:48 -07:00
2023-04-21 02:14:03 -07:00
2023-04-21 02:14:02 -07:00
2023-04-12 22:50:10 +00:00
2023-04-15 16:11:42 -07:00
2023-04-18 07:14:01 -05:00
2023-04-10 22:29:10 +02:00
2023-04-20 18:01:07 +00:00
2023-04-14 11:39:35 -04:00
2023-04-22 12:27:45 +00:00
2023-04-12 22:50:10 +00:00
2023-04-12 22:50:10 +00:00
2023-04-16 11:38:52 +00:00
2023-04-19 19:13:45 +00:00
2023-04-20 14:27:29 +09:00
2023-04-21 02:45:48 -07:00
2023-04-12 22:50:10 +00:00
2023-04-15 16:11:42 -07:00
2023-04-13 07:02:53 +00:00
2023-04-21 16:14:43 +00:00
2023-04-12 22:50:10 +00:00
2023-04-15 16:11:42 -07:00
2023-04-11 10:27:57 +02:00
2023-04-12 22:50:10 +00:00
2023-04-12 22:50:10 +00:00
2023-04-07 00:00:25 +02:00
2023-04-12 22:50:10 +00:00
2023-04-19 13:03:40 +00:00
2023-04-12 22:50:10 +00:00
2023-04-12 22:50:10 +00:00
2023-04-12 22:50:10 +00:00
2023-04-12 22:50:10 +00:00
2023-04-08 22:14:57 +01:00
2023-04-21 21:34:59 +00:00
2023-04-16 11:38:52 +00:00
2023-04-19 19:13:45 +00:00
2023-04-13 22:10:26 -05:00
2023-04-12 22:50:10 +00:00
2023-04-21 06:44:29 +02:00
2023-04-07 14:32:55 +12:00
2023-04-07 08:33:56 +01:00
2023-04-12 22:50:10 +00:00
2023-04-22 15:15:51 +00:00
2023-04-18 17:33:46 -07:00
2023-04-13 21:57:08 +00:00
2023-04-12 23:20:12 +00:00
2023-04-20 18:01:07 +00:00
2023-04-15 15:23:32 -07:00
2023-04-19 13:03:40 +00:00
2023-04-07 05:33:52 +00:00
2023-04-12 22:50:10 +00:00
2023-04-12 22:50:10 +00:00
2023-04-12 22:50:10 +00:00
2023-04-13 21:58:36 +02:00
2023-04-12 22:50:10 +00:00
2023-04-13 22:10:26 -05:00
2023-04-08 21:32:55 +00:00
2023-04-08 21:32:55 +00:00
2023-04-13 22:08:07 -05:00
2023-04-13 22:08:07 -05:00
2023-04-13 22:10:26 -05:00
2023-04-13 22:08:07 -05:00
2023-04-13 22:08:07 -05:00
2023-04-13 22:08:07 -05:00
2023-04-13 22:08:07 -05:00
2023-04-17 22:40:31 -05:00
2023-04-17 22:40:31 -05:00
2023-04-17 22:40:31 -05:00
2023-04-13 22:08:07 -05:00
2023-04-12 22:50:10 +00:00
2023-04-16 11:50:32 -07:00