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

Various refactorings of the TAIT infrastructure #87587

Merged
merged 13 commits into from
Aug 11, 2021
Merged

Commits on Aug 6, 2021

  1. Configuration menu
    Copy the full SHA
    d998059 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    14021fe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3418280 View commit details
    Browse the repository at this point in the history
  4. Split fold_opaque_ty

    oli-obk committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    a30b548 View commit details
    Browse the repository at this point in the history
  5. Remove a useless feature gateing

    With the planned lazy TAIT system, this will not really make sense anymore anyway.
    oli-obk committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    c091b5c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    816b9fc View commit details
    Browse the repository at this point in the history
  7. Immediately register new opaque types in the global list.

    Previously each opaque type instantiation would create new inference vars, even for the same opaque type/substs combination. Now there is a global map in InferCtxt that gets filled whenever we encounter an opaque type.
    oli-obk committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    20371b9 View commit details
    Browse the repository at this point in the history
  8. Store the DefId of the currently typechecked item in InferCtxt

    This allows opaque type inference to check for defining uses without having to pass down that def id via function arguments to every method that could possibly cause an opaque type to be compared with a concrete type
    oli-obk committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    b2c1919 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    092e9cc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1b9ad13 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    238d974 View commit details
    Browse the repository at this point in the history
  12. bless some nll tests

    oli-obk committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    7af445d View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2021

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