summaryrefslogtreecommitdiff
path: root/compiler/rustc_middle/src/arena.rs
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-02-16 14:07:42 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-02-20 15:28:59 +0000
commitc3522d063712abb90ff839254a4b269ede4f1fdd (patch)
treef852b05bd4ceaedae35da51e8d5f7d2e670daff9 /compiler/rustc_middle/src/arena.rs
parent37e2f4f48743b3d89cd016e50c1d29c9ace1dd06 (diff)
downloadrust-c3522d063712abb90ff839254a4b269ede4f1fdd.tar.gz
Move the resolver into a query
Diffstat (limited to 'compiler/rustc_middle/src/arena.rs')
-rw-r--r--compiler/rustc_middle/src/arena.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/arena.rs b/compiler/rustc_middle/src/arena.rs
index 38a559d892a..d4019b5bf17 100644
--- a/compiler/rustc_middle/src/arena.rs
+++ b/compiler/rustc_middle/src/arena.rs
@@ -35,6 +35,8 @@ macro_rules! arena_types {
rustc_data_structures::sync::Lrc<rustc_ast::Crate>,
)>,
[] output_filenames: std::sync::Arc<rustc_session::config::OutputFilenames>,
+ [] metadata_loader: rustc_data_structures::steal::Steal<Box<rustc_session::cstore::MetadataLoaderDyn>>,
+ [] crate_for_resolver: rustc_data_structures::steal::Steal<rustc_ast::ast::Crate>,
[] resolutions: rustc_middle::ty::ResolverGlobalCtxt,
[decode] unsafety_check_result: rustc_middle::mir::UnsafetyCheckResult,
[decode] code_region: rustc_middle::mir::coverage::CodeRegion,