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.
Re-exports§
pub use plumbing::IntoQueryParam;
pub use plumbing::TyCtxtAt;
pub use plumbing::TyCtxtEnsure;
pub use plumbing::TyCtxtEnsureWithValue;
Modules§
- keys 🔒Defines the set of legal keys that can be used in queries.
Macros§
Structs§
- Placeholder for
CrateNum
’s “local” counterpart
Traits§
- The
Key
trait controls what types can legally be used as the key for a query.