Improve documentation of MIR queries & passes by Jaic1 · Pull Request #1434 · rust-lang/rustc-dev-guide (original) (raw)

This PR improve the documentation of MIR queries and passes.

Below is the summary of changes:

FIXME:

Since rust-lang/rust#99102 may significantly change the MIR queries (and thus its doc), we can wait for its result or send follow-up PRs. This is mostly documenting the code in rustc_mir_transform, so maybe cc @rust-lang/wg-mir-opt.