Module 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§

arena_cached 🔒
cached
descs
erase
keys 🔒
Defines the set of legal keys that can be used in queries.
on_disk_cache
plumbing
queries

Macros§

rustc_feedable_queries 🔒

Structs§

DynamicQueries
ExternProviders
LocalCrate
Placeholder for CrateNum’s “local” counterpart
Providers
QueryArenas
QueryCaches
QueryEngine
QueryStates

Traits§

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