Update documentation
This commit is contained in:
parent
afdcae2860
commit
6201ad9205
6 changed files with 9 additions and 11 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue