diff options
| author | Ellen <supbscripter@gmail.com> | 2021-09-07 01:56:29 +0100 |
|---|---|---|
| committer | Ellen <supbscripter@gmail.com> | 2021-09-09 01:32:03 +0100 |
| commit | 406d2ab95de0e90f45e00f6c1be1e4e7912aa153 (patch) | |
| tree | 2e986e4fbf9db905d1f71f5ff7ebd20e0fc6fa53 /compiler/rustc_query_impl/src | |
| parent | 15101c8e95db6941f8c7d55fb301ad1b62748c7b (diff) | |
| download | rust-406d2ab95de0e90f45e00f6c1be1e4e7912aa153.tar.gz rust-406d2ab95de0e90f45e00f6c1be1e4e7912aa153.zip | |
rename mir -> thir around abstract consts
Diffstat (limited to 'compiler/rustc_query_impl/src')
| -rw-r--r-- | compiler/rustc_query_impl/src/on_disk_cache.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_query_impl/src/on_disk_cache.rs b/compiler/rustc_query_impl/src/on_disk_cache.rs index 5c2803c67e7..2903e220b3b 100644 --- a/compiler/rustc_query_impl/src/on_disk_cache.rs +++ b/compiler/rustc_query_impl/src/on_disk_cache.rs @@ -9,6 +9,7 @@ use rustc_index::vec::{Idx, IndexVec}; use rustc_middle::dep_graph::{DepNode, DepNodeIndex, SerializedDepNodeIndex}; use rustc_middle::mir::interpret::{AllocDecodingSession, AllocDecodingState}; use rustc_middle::mir::{self, interpret}; +use rustc_middle::thir; use rustc_middle::ty::codec::{RefDecodable, TyDecoder, TyEncoder}; use rustc_middle::ty::{self, Ty, TyCtxt}; use rustc_query_system::dep_graph::DepContext; @@ -906,7 +907,7 @@ impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> } } -impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> for &'tcx [mir::abstract_const::Node<'tcx>] { +impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> for &'tcx [thir::abstract_const::Node<'tcx>] { fn decode(d: &mut CacheDecoder<'a, 'tcx>) -> Result<Self, String> { RefDecodable::decode(d) } |
