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
InferCtxt::resolve_regions_and_report_errors no longer exists #2572
There is ObligationCtxt::resolve_regions_and_report_errors, which does have the same name, but its description doesn't seem to match up what the dev-guide says. Plus it's a method on ObligationCtxt, whereas all the other functions in the section come from InferCtxt, or at least rustc_infer.
And then there is InferCtxt::resolve_regions_with_normalize, whose documentation does align with the description in the section much more closely, especially the ICE-when-used-more-than-once part. But its previous name was just resolve_regions (changed in this commit).
Activity
tshepang commentedon Sep 5, 2025
I found rust-lang/rust@a19adef, which says
ObligationCtxtis the new home of the method.ada4a commentedon Sep 5, 2025
Thank you! Opened a PR
tshepang commentedon Sep 5, 2025
also noticed the last link in that section does not go where it is intended to... would you care to fix
ada4a commentedon Sep 5, 2025
There you go: #2577
tshepang commentedon Sep 5, 2025
too quick, thank you 💃