Update documentation

This commit is contained in:
Oli Scherer 2024-03-20 09:49:57 +00:00
parent afdcae2860
commit 6201ad9205
6 changed files with 9 additions and 11 deletions

View file

@ -485,12 +485,13 @@ rustc_queries! {
separate_provide_extern
}
/// Fetch the MIR for a given `DefId` up till the point where it is
/// ready for const qualification.
/// Build the MIR for a given `DefId` and prepare it for const qualification.
///
/// See the README for the `mir` module for details.
/// See the [rustc dev guide] for more info.
///
/// [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/mir/construction.html
query mir_built(key: LocalDefId) -> &'tcx Steal<mir::Body<'tcx>> {
desc { |tcx| "preparing `{}` for borrow checking", tcx.def_path_str(key) }
desc { |tcx| "building MIR for `{}`", tcx.def_path_str(key) }
}
/// Try to build an abstract representation of the given constant.