Skip to content

Commit

Permalink
Rollup merge of rust-lang#94097 - pierwill:doc-rustc-middle-query, r=…
Browse files Browse the repository at this point in the history
…cjgillot

Add module-level docs for `rustc_middle::query`
  • Loading branch information
matthiaskrgr committed Feb 19, 2022
2 parents 8517581 + 5cf8274 commit f4211a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions compiler/rustc_middle/src/query/mod.rs
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f4211a3

Please sign in to comment.