diff options
| author | Michael Goulet <michael@errs.io> | 2022-09-09 15:34:11 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-09-14 20:50:52 +0000 |
| commit | 4cdf264e6fe58325dcedb2f571cbac4aed095eb7 (patch) | |
| tree | 330e8d282ae864b048fae9585f73af47a4121ea2 /compiler/rustc_middle/src/query | |
| parent | 88a192257ce110e7fb1732aa2b65e481f811db7a (diff) | |
| download | rust-4cdf264e6fe58325dcedb2f571cbac4aed095eb7.tar.gz rust-4cdf264e6fe58325dcedb2f571cbac4aed095eb7.zip | |
cache collect_trait_impl_trait_tys
Diffstat (limited to 'compiler/rustc_middle/src/query')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index 0fe22a26cd5..5cc2b7984d7 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -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 } |
