Module rustc_middle::query

source ·
Expand description

Defines the various compiler queries.

For more information on the query system, see “Queries: demand-driven compilation”. This chapter includes instructions for adding new queries.


keys 🔒
Defines the set of legal keys that can be used in queries.



The Key trait controls what types can legally be used as the key for a query.