@@ -12,36 +12,13 @@ macro_rules! arena_types {
1212 ( $macro: path, $args: tt, $tcx: lifetime) => (
1313 $macro!( $args, [
1414 [ ] layouts: rustc_target:: abi:: Layout ,
15- [ ] generics: rustc_middle:: ty:: Generics ,
16- [ ] trait_def: rustc_middle:: ty:: TraitDef ,
15+ // AdtDef are interned and compared by address
1716 [ ] adt_def: rustc_middle:: ty:: AdtDef ,
18- [ ] steal_mir: rustc_middle:: ty:: steal:: Steal <rustc_middle:: mir:: Body <$tcx>>,
19- [ ] mir: rustc_middle:: mir:: Body <$tcx>,
20- [ ] steal_promoted: rustc_middle:: ty:: steal:: Steal <
21- rustc_index:: vec:: IndexVec <
22- rustc_middle:: mir:: Promoted ,
23- rustc_middle:: mir:: Body <$tcx>
24- >
25- >,
26- [ ] promoted: rustc_index:: vec:: IndexVec <
27- rustc_middle:: mir:: Promoted ,
28- rustc_middle:: mir:: Body <$tcx>
29- >,
3017 [ decode] tables: rustc_middle:: ty:: TypeckTables <$tcx>,
31- [ decode] borrowck_result: rustc_middle:: mir:: BorrowCheckResult <$tcx>,
3218 [ ] const_allocs: rustc_middle:: mir:: interpret:: Allocation ,
33- [ ] vtable_method: Option <(
34- rustc_hir:: def_id:: DefId ,
35- rustc_middle:: ty:: subst:: SubstsRef <$tcx>
36- ) >,
37- [ few, decode] collect_and_partition_mono_items: rustc_hir:: def_id:: DefIdSet ,
38- [ few, decode] mir_keys: rustc_data_structures:: fx:: FxHashSet <rustc_hir:: def_id:: LocalDefId >,
39- [ decode] specialization_graph: rustc_middle:: traits:: specialization_graph:: Graph ,
19+ // Required for the incremental on-disk cache
20+ [ few, decode] mir_keys: rustc_hir:: def_id:: DefIdSet ,
4021 [ ] region_scope_tree: rustc_middle:: middle:: region:: ScopeTree ,
41- [ ] item_local_set: rustc_hir:: ItemLocalSet ,
42- [ decode] mir_const_qualif: rustc_index:: bit_set:: BitSet <rustc_middle:: mir:: Local >,
43- [ ] trait_impls_of: rustc_middle:: ty:: trait_def:: TraitImpls ,
44- [ ] associated_items: rustc_middle:: ty:: AssociatedItems ,
4522 [ ] dropck_outlives:
4623 rustc_middle:: infer:: canonical:: Canonical <' tcx,
4724 rustc_middle:: infer:: canonical:: QueryResponse <' tcx,
@@ -80,42 +57,10 @@ macro_rules! arena_types {
8057 rustc_middle:: infer:: canonical:: Canonical <' tcx,
8158 rustc_middle:: infer:: canonical:: QueryResponse <' tcx, rustc_middle:: ty:: Ty <' tcx>>
8259 >,
83- [ few] crate_inherent_impls: rustc_middle:: ty:: CrateInherentImpls ,
84- [ few] upstream_monomorphizations:
85- rustc_hir:: def_id:: DefIdMap <
86- rustc_data_structures:: fx:: FxHashMap <
87- rustc_middle:: ty:: subst:: SubstsRef <' tcx>,
88- rustc_hir:: def_id:: CrateNum
89- >
90- >,
91- [ few] diagnostic_items: rustc_data_structures:: fx:: FxHashMap <
92- rustc_span:: symbol:: Symbol ,
93- rustc_hir:: def_id:: DefId ,
94- >,
95- [ few] resolve_lifetimes: rustc_middle:: middle:: resolve_lifetime:: ResolveLifetimes ,
96- [ few] lint_levels: rustc_middle:: lint:: LintLevelMap ,
97- [ few] stability_index: rustc_middle:: middle:: stability:: Index <' tcx>,
98- [ few] features: rustc_feature:: Features ,
9960 [ few] all_traits: Vec <rustc_hir:: def_id:: DefId >,
10061 [ few] privacy_access_levels: rustc_middle:: middle:: privacy:: AccessLevels ,
101- [ few] target_features_whitelist: rustc_data_structures:: fx:: FxHashMap <
102- String ,
103- Option <rustc_span:: symbol:: Symbol >
104- >,
105- [ few] wasm_import_module_map: rustc_data_structures:: fx:: FxHashMap <
106- rustc_hir:: def_id:: DefId ,
107- String
108- >,
109- [ few] get_lib_features: rustc_middle:: middle:: lib_features:: LibFeatures ,
110- [ few] defined_lib_features: rustc_hir:: lang_items:: LanguageItems ,
111- [ few] visible_parent_map: rustc_hir:: def_id:: DefIdMap <rustc_hir:: def_id:: DefId >,
11262 [ few] foreign_module: rustc_middle:: middle:: cstore:: ForeignModule ,
11363 [ few] foreign_modules: Vec <rustc_middle:: middle:: cstore:: ForeignModule >,
114- [ few] reachable_non_generics: rustc_hir:: def_id:: DefIdMap <
115- rustc_middle:: middle:: exported_symbols:: SymbolExportLevel
116- >,
117- [ few] crate_variances: rustc_middle:: ty:: CrateVariancesMap <' tcx>,
118- [ few] inferred_outlives_crate: rustc_middle:: ty:: CratePredicatesMap <' tcx>,
11964 [ ] upvars: rustc_data_structures:: fx:: FxIndexMap <rustc_hir:: HirId , rustc_hir:: Upvar >,
12065 [ ] object_safety_violations: rustc_middle:: traits:: ObjectSafetyViolation ,
12166 [ ] codegen_unit: rustc_middle:: mir:: mono:: CodegenUnit <$tcx>,
0 commit comments