cache collect_trait_impl_trait_tys

This commit is contained in:
Michael Goulet
2022-09-09 15:34:11 +00:00
parent 88a192257c
commit 4cdf264e6f
3 changed files with 9 additions and 2 deletions

View File

@@ -164,7 +164,8 @@ rustc_queries! {
query collect_trait_impl_trait_tys(key: DefId)
-> Result<&'tcx FxHashMap<DefId, Ty<'tcx>>, ErrorGuaranteed>
{
desc { "better description please" }
desc { "compare an impl and trait method signature, inferring any hidden `impl Trait` types in the process" }
cache_on_disk_if { key.is_local() }
separate_provide_extern
}