diff options
| author | kadmin <julianknodt@gmail.com> | 2022-07-09 09:35:06 +0000 |
|---|---|---|
| committer | kadmin <julianknodt@gmail.com> | 2022-07-12 02:21:31 +0000 |
| commit | e612e2603cfffedfc000853648bc061a4aa7269c (patch) | |
| tree | f191c6bfae89146eab6feda2c9f40a63e6b7f19a /compiler/rustc_query_impl | |
| parent | 8a3325496f89373cb1631a944539ff38d0966fe8 (diff) | |
| download | rust-e612e2603cfffedfc000853648bc061a4aa7269c.tar.gz rust-e612e2603cfffedfc000853648bc061a4aa7269c.zip | |
Move abstract const to rustc_middle::ty
Diffstat (limited to 'compiler/rustc_query_impl')
| -rw-r--r-- | compiler/rustc_query_impl/src/on_disk_cache.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_query_impl/src/on_disk_cache.rs b/compiler/rustc_query_impl/src/on_disk_cache.rs index 4c25075327f..56fd90c9855 100644 --- a/compiler/rustc_query_impl/src/on_disk_cache.rs +++ b/compiler/rustc_query_impl/src/on_disk_cache.rs @@ -9,7 +9,6 @@ use rustc_index::vec::{Idx, IndexVec}; use rustc_middle::dep_graph::{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; @@ -766,7 +765,7 @@ impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> } } -impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> for &'tcx [thir::abstract_const::Node<'tcx>] { +impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> for &'tcx [ty::abstract_const::Node<'tcx>] { fn decode(d: &mut CacheDecoder<'a, 'tcx>) -> Self { RefDecodable::decode(d) } |
