incr.comp.: Implement force_from_dep_node() in a macro. #45015
Labels
A-incr-comp
Area: Incremental compilation
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
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 allDepKinds
and the implementation could be done almost mechanically. We should try to move the implementation intodefine_maps!
ordefine_dep_nodes!
.The text was updated successfully, but these errors were encountered: