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

Use HashStable_Generic in rustc_type_ir #101549

Merged
merged 1 commit into from
Sep 8, 2022

Commits on Sep 7, 2022

  1. Use HashStable_Generic in rustc_type_ir

    A lot of the types in this crate implemented HashStable directly to
    avoid circular dependencies. One way around that is to use
    HashStable_Generic. We adopt that here to avoid a lot of boilerplate.
    
    This doesn't update all the types, because some would require
    `I: Interner + HashStable`.
    eholk committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    578fc49 View commit details
    Browse the repository at this point in the history