1
Fork 0

Give more descriptive names to queries.

This commit is contained in:
Camille GILLOT 2022-05-08 14:11:30 +02:00
parent f65f506d60
commit a395d2a5de
5 changed files with 6 additions and 6 deletions

View file

@ -426,7 +426,7 @@ rustc_queries! {
&'tcx Steal<IndexVec<mir::Promoted, mir::Body<'tcx>>>
) {
no_hash
desc { |tcx| "processing MIR for `{}`", tcx.def_path_str(key.to_def_id()) }
desc { |tcx| "promoting constants in MIR for `{}`", tcx.def_path_str(key.to_def_id()) }
}
query closure_typeinfo(key: LocalDefId) -> ty::ClosureTypeInfo<'tcx> {