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

Remember mutability in DefKind::Static. #95436

Merged
merged 1 commit into from
Mar 31, 2022
Merged

Commits on Mar 29, 2022

  1. Remember mutability in DefKind::Static.

    This allows to compute the `BodyOwnerKind` from `DefKind` only, and
    removes a direct dependency of some MIR queries onto HIR.
    
    As a side effect, it also simplifies metadata, since we don't need 4
    flavours of `EntryKind::*Static` any more.
    cjgillot committed Mar 29, 2022
    Configuration menu
    Copy the full SHA
    21a554c View commit details
    Browse the repository at this point in the history