summaryrefslogtreecommitdiff
path: root/compiler/rustc_middle/src/arena.rs
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-12-05 16:43:06 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-01-12 17:14:17 +0000
commit33b6a7790eb6de10f0d240ec92008e7faa1da44c (patch)
tree8f265d27ada4ecb736be2da864eacd7f5df13890 /compiler/rustc_middle/src/arena.rs
parent194b4a2adbda6809d9fd878bfbb4998f0a0e90bb (diff)
downloadrust-33b6a7790eb6de10f0d240ec92008e7faa1da44c.tar.gz
Remove `untracked_crate` field and instead pass it along with the resolver.
Diffstat (limited to 'compiler/rustc_middle/src/arena.rs')
-rw-r--r--compiler/rustc_middle/src/arena.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/arena.rs b/compiler/rustc_middle/src/arena.rs
index ca058cc3c6d..9ab2d4c2106 100644
--- a/compiler/rustc_middle/src/arena.rs
+++ b/compiler/rustc_middle/src/arena.rs
@@ -30,7 +30,10 @@ macro_rules! arena_types {
[decode] typeck_results: rustc_middle::ty::TypeckResults<'tcx>,
[decode] borrowck_result:
rustc_middle::mir::BorrowCheckResult<'tcx>,
- [] resolver: rustc_data_structures::steal::Steal<rustc_middle::ty::ResolverAstLowering>,
+ [] resolver: rustc_data_structures::steal::Steal<(
+ rustc_middle::ty::ResolverAstLowering,
+ rustc_data_structures::sync::Lrc<rustc_ast::Crate>,
+ )>,
[] resolutions: rustc_middle::ty::ResolverGlobalCtxt,
[decode] unsafety_check_result: rustc_middle::mir::UnsafetyCheckResult,
[decode] code_region: rustc_middle::mir::coverage::CodeRegion,