Yuki Okushi
f95f835470
Rollup merge of #107479 - compiler-errors:probe-can-call-ocx, r=BoxyUwU
...
Use `ObligationCtxt::new_in_snapshot` in `satisfied_from_param_env`
We can evaluate nested `ConstEvaluatable` obligations in an evaluation probe, which will ICE if we use `ObligationCtxt::new`.
Fixes #107474
Fixes #106666
r? `@BoxyUwU` but feel free to reassign
cc `@JulianKnodt` who i think added this assertion code
Not sure if the rustdoc test is needed, but can't hurt. They're the same root cause, though.
2023-01-31 11:46:25 +09:00
..
2023-01-22 23:41:39 -05:00
2023-01-28 00:23:12 +09:00
2023-01-28 09:55:26 +00:00
2023-01-19 13:52:15 +01:00
2023-01-27 08:53:39 +01:00
2023-01-30 19:42:49 +00:00
2023-01-30 12:00:42 +11:00
2023-01-29 04:11:27 +00:00
2023-01-25 01:46:19 -05:00
2023-01-28 16:35:07 +02:00
2023-01-29 07:01:58 +00:00
2023-01-29 04:11:27 +00:00
2023-01-29 04:11:27 +00:00
2023-01-29 20:03:37 +01:00
2023-01-27 10:59:51 +01:00
2023-01-29 10:20:25 +00:00
2023-01-20 20:16:37 +01:00
2023-01-20 20:16:37 +01:00
2023-01-28 15:08:07 +00:00
2023-01-30 17:50:08 +01:00
2023-01-30 17:50:08 +01:00
2023-01-29 10:20:25 +00:00
2023-01-28 09:55:26 +00:00
2023-01-19 15:25:33 +00:00
2023-01-28 19:41:21 +00:00
2023-01-29 04:11:27 +00:00
2023-01-17 08:09:33 +00:00
2023-01-30 12:00:42 +11:00
2023-01-30 07:02:01 +00:00
2023-01-21 23:20:58 -05:00
2023-01-27 11:27:22 +00:00
2023-01-29 01:27:11 +00:00
2023-01-30 17:50:11 +01:00
2023-01-29 20:03:37 +01:00
2023-01-23 23:56:22 +00:00
2023-01-30 17:50:09 +01:00
2023-01-30 07:20:38 +02:00
2023-01-31 00:03:08 +00:00
2023-01-27 08:53:39 +01:00
2023-01-30 10:54:33 +00:00
2023-01-28 09:55:26 +00:00
2023-01-17 08:09:33 +00:00
2023-01-25 08:58:27 -05:00
2023-01-28 09:55:26 +00:00
2023-01-29 20:03:37 +01:00
2023-01-28 15:08:07 +00:00
2023-01-27 18:58:44 +00:00
2023-01-26 06:15:27 +01:00
2023-01-31 11:46:25 +09:00
2023-01-29 10:20:25 +00:00
2023-01-18 10:22:21 -08:00
2023-01-30 19:19:07 +00:00
2023-01-27 19:00:26 +00:00