about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-06-16 14:31:12 +0200
committerGitHub <noreply@github.com>2025-06-16 14:31:12 +0200
commit2c4abc0f453a32a5f8cca4f7aa40d38649949691 (patch)
tree507ca87415c5c0938f337cc63c480f581b6fcd04 /compiler/rustc_codegen_llvm/src
parente036a564e44e8f5b64b2bee84010225582cb1832 (diff)
parentade2ad9d5264d4212a80840f44561b30eac87f80 (diff)
downloadrust-2c4abc0f453a32a5f8cca4f7aa40d38649949691.tar.gz
rust-2c4abc0f453a32a5f8cca4f7aa40d38649949691.zip
Rollup merge of #142450 - xizheyin:rustc-query-doc, r=SparrowLii
Add documentation on top of `rustc_middle/src/query/mod.rs`

The `rustc-dev-guide` gives a high-level intro, but many details—especially about how the code works and modifiers in `query xxx(){...}`—are only in code comments or the macro implementation. This doc makes it easier for contributors and code readers to understand the workflow and available modifiers without jumping between files and docs.

This PR adds a comprehensive module-level doc comment to `rustc_middle::query::mod.rs` that:
1. Provides an overview of the query system and macro-based query definitions for reading code more easily
2. Centralizes documentation for all query modifiers (previously scattered or only in `rustc_macro` code), closely following the authoritative list in QueryModifiers.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions