[][src]Module rustc::ty::query

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Modules

__query_computeInternal
cachesInternal
configInternal
jobInternal
keysInternal

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

on_disk_cacheInternal
plumbingInternal

The implementation of the query system itself. This defines the macros that generate the actual methods on tcx which find and execute the provider, manage the caches, and so forth.

profiling_supportInternal
queriesInternal
statsInternal
valuesInternal

Structs

CycleErrorInternal
OnDiskCacheInternal

Provides an interface to incremental compilation data cached from the previous compilation session. This data will eventually include the results of a few selected queries (like typeck_tables_of and mir_optimized) and any diagnostics that have been emitted during a query.

ProvidersInternal
QueriesInternal
QueryInfoInternal

Represents a span and a query key.

QueryJobInternal

Represents an active query job.

QueryJobIdInternal

A value uniquely identifiying an active query job.

QueryKeyStringBuilderInternal
TyCtxtAtInternal
TyCtxtEnsureInternal

Enums

QueryInternal

Traits

IntoSelfProfilingStringInternal
QueryConfigInternal

Functions

force_from_dep_nodeInternal

The red/green evaluation system will try to mark a specific DepNode in the dependency graph as green by recursively trying to mark the dependencies of that DepNode as green. While doing so, it will sometimes encounter a DepNode where we don't know if it is red or green and we therefore actually have to recompute its value in order to find out. Since the only piece of information that we have at that point is the DepNode we are trying to re-evaluate, we need some way to re-run a query from just that. This is what force_from_dep_node() implements.

print_statsInternal