rustc_middle::query - Rust (original) (raw)

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.

pub use plumbing::[IntoQueryParam](plumbing/trait.IntoQueryParam.html "trait rustc_middle::query::plumbing::IntoQueryParam");

pub use plumbing::[TyCtxtAt](plumbing/struct.TyCtxtAt.html "struct rustc_middle::query::plumbing::TyCtxtAt");

pub use plumbing::[TyCtxtEnsureDone](plumbing/struct.TyCtxtEnsureDone.html "struct rustc_middle::query::plumbing::TyCtxtEnsureDone");

pub use plumbing::[TyCtxtEnsureOk](plumbing/struct.TyCtxtEnsureOk.html "struct rustc_middle::query::plumbing::TyCtxtEnsureOk");

arena_cached 🔒

cached

descs

erase

keys 🔒

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

on_disk_cache

plumbing

queries

rustc_feedable_queries 🔒

DynamicQueries

ExternProviders

LocalCrate

Placeholder for CrateNum’s “local” counterpart

Providers

QueryArenas

QueryCaches

QueryEngine

QueryStates

AsLocalKey

Key

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