Module rustc::ty::maps [] [src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Modules

queries [
Experimental
]

Structs

Maps [
Experimental
]
Providers [
Experimental
]
TyCtxtAt [
Experimental
]

Enums

Query [
Experimental
]
QueryMsg [
Experimental
]

Traits

Key [
Experimental
]

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

QueryConfig [
Experimental
]

Query configuration and description traits.

Functions

force_from_dep_node [
Experimental
]

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.