Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix universe map in ifcx.instantiate_canonical_* #99814

Merged
merged 2 commits into from
Nov 30, 2022

Commits on Jul 27, 2022

  1. fix universe map in ifcx.instantiate_canonical_*

    Previously, `infcx.instantiate_canonical_*` maps the root universe in `canonical` into `ty::UniverseIndex::Root`, I think because it assumes it works with a fresh `infcx` but this is not true for the use cases in mir typeck. Now the root universe is mapped into `infcx.universe()`.
    
    I catched this accidentally while reviewing the code. I'm not sure if this is the right fix or if it is really a bug!
    aliemjay authored Jul 27, 2022
    Configuration menu
    Copy the full SHA
    f87953f View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2022

  1. Configuration menu
    Copy the full SHA
    70200ac View commit details
    Browse the repository at this point in the history