Skip to content

Commit

Permalink
Add module-level docs for rustc_middle::query
Browse files Browse the repository at this point in the history
  • Loading branch information
pierwill committed Feb 17, 2022
1 parent 30b3f35 commit 5cf8274
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 5cf8274

Please sign in to comment.