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_query_impl | |
| parent | 88a192257ce110e7fb1732aa2b65e481f811db7a (diff) | |
| download | rust-4cdf264e6fe58325dcedb2f571cbac4aed095eb7.tar.gz rust-4cdf264e6fe58325dcedb2f571cbac4aed095eb7.zip | |
cache collect_trait_impl_trait_tys
Diffstat (limited to 'compiler/rustc_query_impl')
| -rw-r--r-- | compiler/rustc_query_impl/src/on_disk_cache.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_query_impl/src/on_disk_cache.rs b/compiler/rustc_query_impl/src/on_disk_cache.rs index 5ef95911f56..0e93f3ce1d6 100644 --- a/compiler/rustc_query_impl/src/on_disk_cache.rs +++ b/compiler/rustc_query_impl/src/on_disk_cache.rs @@ -798,6 +798,12 @@ impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> for &'tcx FxHashSet<LocalDefId> } } +impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> for &'tcx FxHashMap<DefId, Ty<'tcx>> { + fn decode(d: &mut CacheDecoder<'a, 'tcx>) -> Self { + RefDecodable::decode(d) + } +} + impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> for &'tcx IndexVec<mir::Promoted, mir::Body<'tcx>> { |
