Skip to content

incr.comp.: Implement force_from_dep_node() in a macro. #45015

Closed
@michaelwoerister

Description

@michaelwoerister

The ty::maps::plumbing::force_from_dep_node() procedure (introduced in #44901) is manually implemented right now. This is unfortunate, since it contains an exhaustive match over all DepKinds and the implementation could be done almost mechanically. We should try to move the implementation into define_maps! or define_dep_nodes!.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions