diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-06-08 22:18:53 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-06-08 22:23:03 +0200 |
| commit | aeb050da9f672dcdf0ba665dac54f36385b9a986 (patch) | |
| tree | b88387acb2b3d21b4817c070d43f9d347be97365 /compiler/rustc_interface/src | |
| parent | e4a60327063e82413eed50a10df3b7d19b77bda0 (diff) | |
| download | rust-aeb050da9f672dcdf0ba665dac54f36385b9a986.tar.gz rust-aeb050da9f672dcdf0ba665dac54f36385b9a986.zip | |
Do not require the DefPathTable to construct the on-disk cache.
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index aa7af609fb5..cfe65c5372d 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -765,9 +765,7 @@ pub fn create_global_ctxt<'tcx>( ) -> QueryContext<'tcx> { let sess = &compiler.session(); - let def_path_table = resolver_outputs.definitions.def_path_table(); - let query_result_on_disk_cache = - rustc_incremental::load_query_result_cache(sess, def_path_table); + let query_result_on_disk_cache = rustc_incremental::load_query_result_cache(sess); let codegen_backend = compiler.codegen_backend(); let mut local_providers = *DEFAULT_QUERY_PROVIDERS; |
