Skip to content

Commit 39a50d8

Browse files
authored
Rollup merge of #94097 - pierwill:doc-rustc-middle-query, r=cjgillot
Add module-level docs for `rustc_middle::query`
2 parents f2d4ffe + 5cf8274 commit 39a50d8

File tree

1 file changed

+6
-0
lines changed
  • compiler/rustc_middle/src/query

1 file changed

+6
-0
lines changed

compiler/rustc_middle/src/query/mod.rs

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
//! Defines the various compiler queries.
2+
//!
3+
//! For more information on the query system, see
4+
//! ["Queries: demand-driven compilation"](https://rustc-dev-guide.rust-lang.org/query.html).
5+
//! This chapter includes instructions for adding new queries.
6+
17
// Each of these queries corresponds to a function pointer field in the
28
// `Providers` struct for requesting a value of that type, and a method
39
// on `tcx: TyCtxt` (and `tcx.at(span)`) for doing that request in a way

0 commit comments

Comments
 (0)