Add module-level docs for rustc_middle::query
This commit is contained in:
parent
30b3f35c42
commit
5cf827421e
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
//! Defines the various compiler queries.
|
||||
//!
|
||||
//! For more information on the query system, see
|
||||
//! ["Queries: demand-driven compilation"](https://rustc-dev-guide.rust-lang.org/query.html).
|
||||
//! This chapter includes instructions for adding new queries.
|
||||
|
||||
// Each of these queries corresponds to a function pointer field in the
|
||||
// `Providers` struct for requesting a value of that type, and a method
|
||||
// on `tcx: TyCtxt` (and `tcx.at(span)`) for doing that request in a way
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue