diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-09-15 15:39:11 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-09-21 17:06:14 +0200 |
| commit | 1806efe7f2757c5fbcf99d1ac9ca2d26fb0a7c4e (patch) | |
| tree | 261c5f818f32a5c4ccc366874279d766c8f66a2f /compiler/rustc_incremental/src/persist/load.rs | |
| parent | 66ab7e6883c563ceacf8386a50e851e9855cd6b4 (diff) | |
| download | rust-1806efe7f2757c5fbcf99d1ac9ca2d26fb0a7c4e.tar.gz rust-1806efe7f2757c5fbcf99d1ac9ca2d26fb0a7c4e.zip | |
Move `DepKind` to `rustc_query_system` and define it as `u16`
Diffstat (limited to 'compiler/rustc_incremental/src/persist/load.rs')
| -rw-r--r-- | compiler/rustc_incremental/src/persist/load.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_incremental/src/persist/load.rs b/compiler/rustc_incremental/src/persist/load.rs index 8d67f692568..25e694fa1c1 100644 --- a/compiler/rustc_incremental/src/persist/load.rs +++ b/compiler/rustc_incremental/src/persist/load.rs @@ -3,7 +3,7 @@ use crate::errors; use rustc_data_structures::memmap::Mmap; use rustc_data_structures::unord::UnordMap; -use rustc_middle::dep_graph::{SerializedDepGraph, WorkProductMap}; +use rustc_middle::dep_graph::{DepsType, SerializedDepGraph, WorkProductMap}; use rustc_middle::query::on_disk_cache::OnDiskCache; use rustc_serialize::opaque::MemDecoder; use rustc_serialize::Decodable; @@ -208,7 +208,7 @@ pub fn load_dep_graph(sess: &Session) -> DepGraphFuture { return LoadResult::DataOutOfDate; } - let dep_graph = SerializedDepGraph::decode(&mut decoder); + let dep_graph = SerializedDepGraph::decode::<DepsType>(&mut decoder); LoadResult::Ok { data: (dep_graph, prev_work_products) } } |
