summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2020-07-29 12:26:15 -0400
committerAaron Hill <aa1ronham@gmail.com>2020-11-25 14:49:15 -0500
commite935d3832cd8f0c3c3e1f01864e2605a3818b9d9 (patch)
tree03fe22697c443d5a5308d6bae7cafbc88fcc2035 /compiler/rustc_interface/src
parentdb79d2f63780613e700cb58b4339c48287555ae0 (diff)
downloadrust-e935d3832cd8f0c3c3e1f01864e2605a3818b9d9.tar.gz
rust-e935d3832cd8f0c3c3e1f01864e2605a3818b9d9.zip
Lazy DefPath decoding for incremental compilation
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/passes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 5fd560d7eff..d6159f9d73f 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -747,7 +747,7 @@ pub fn create_global_ctxt<'tcx>(
         Definitions::new(crate_name, sess.local_crate_disambiguator()),
     ));
 
-    let query_result_on_disk_cache = rustc_incremental::load_query_result_cache(sess);
+    let query_result_on_disk_cache = rustc_incremental::load_query_result_cache(sess, defs);
 
     let codegen_backend = compiler.codegen_backend();
     let mut local_providers = *DEFAULT_QUERY_PROVIDERS;