Add internal documentation for all queries #104008
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
A-query-system
Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html)
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
Currently, queries are inconsistently documented. Some have a doc-comment:
rust/compiler/rustc_middle/src/query/mod.rs
Lines 38 to 44 in b0f3940
while others only have the
desc
we mandate in the proc-macro:rust/compiler/rustc_middle/src/query/mod.rs
Lines 26 to 30 in b0f3940
We should add documentation for all of these, then add
#[warn(missing_docs)]
so it doesn't regress in the future.The text was updated successfully, but these errors were encountered: