Skip to content

Turn parent_module_of_macro_def into a query #85999

Closed
@cjgillot

Description

@cjgillot

Those two methods contain information that is recorded by the resolver, before the incr. comp. infrastructure is set up.

For now, the maps are accessed as-is. They need to be made queries in order to ensure the correct tracking of their result.

In order to avoid having to compute the forcing query, a pre-requisite is to allow recovering an ExpnId from a Fingerprint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)A-query-systemArea: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions