mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
f95f835470
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |