You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 01a0735
Browse filesBrowse the repository at this point in the historyBrowse files
Diagnostics ICE when replaying proof trees with next-solver
When diagnostics replay proof tree state, rebuilding a canonical
state can fail to match the current inference state. With
-Znext-solver=globally, this could panic because inference
variables created to replay a canonical state were placed in the
wrong universe relative to placeholders bound by the same state.
Fix this by threading a `prev_universe` through proof tree replay:
`InspectGoal` now stores the caller-side universe at the time the
goal was created, and `instantiate_canonical_state` reuses that same
base universe (instead of recomputing it) when creating any
replay-only fresh variables and when reconstructing placeholders
from the canonical state, ensuring all canonical states for a single
goal share a consistent universe mapping.
Add a regression test for the higher-ranked PartialEq and PartialOrd
case.
Fixes#151304.
Signed-off-by: Vicente Gusmão <vicente.gusmao@tecnico.ulisboa.pt>
0 commit comments