Expand description

Support for serializing the dep-graph and reloading it.


keys 🔒

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

make_query 🔒
plumbing 🔒

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.

queries 🔒
values 🔒


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 and mir_optimized) and any side effects that have been emitted during a query.



All self-profiling events generated by the query engine use virtual StringIds for their event_id. This method makes all those virtual StringIds point to actual strings.