Skip to content

Commit 2ba0d2a

Browse files
committed
Auto merge of #66942 - cjgillot:hirene-ty, r=Zoxc
Allocate HIR on an arena 3/4 -- Ty This is the third PR in the series started by #66931 and #66936 Once again, commits don't really make sense on their own. They are mostly split by type of compile error. The additional diff is here: cjgillot/rust@hirene-expr...hirene-ty
2 parents da3629b + 71f7458 commit 2ba0d2a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+965
-916
lines changed

src/librustc/arena.rs

+14-6
Original file line numberDiff line numberDiff line change
@@ -128,26 +128,34 @@ macro_rules! arena_types {
128128
[] arm: rustc::hir::Arm<$tcx>,
129129
[] attribute: syntax::ast::Attribute,
130130
[] block: rustc::hir::Block<$tcx>,
131+
[] bare_fn_ty: rustc::hir::BareFnTy<$tcx>,
131132
[few] global_asm: rustc::hir::GlobalAsm,
133+
[] generic_arg: rustc::hir::GenericArg<$tcx>,
134+
[] generic_args: rustc::hir::GenericArgs<$tcx>,
135+
[] generic_bound: rustc::hir::GenericBound<$tcx>,
136+
[] generic_param: rustc::hir::GenericParam<$tcx>,
132137
[] expr: rustc::hir::Expr<$tcx>,
133138
[] field: rustc::hir::Field<$tcx>,
134139
[] field_pat: rustc::hir::FieldPat<$tcx>,
135-
[] fn_decl: rustc::hir::FnDecl,
140+
[] fn_decl: rustc::hir::FnDecl<$tcx>,
136141
[] foreign_item: rustc::hir::ForeignItem<$tcx>,
137-
[] impl_item_ref: rustc::hir::ImplItemRef,
142+
[] impl_item_ref: rustc::hir::ImplItemRef<$tcx>,
138143
[] inline_asm: rustc::hir::InlineAsm<$tcx>,
139144
[] local: rustc::hir::Local<$tcx>,
140145
[few] macro_def: rustc::hir::MacroDef<$tcx>,
141146
[] param: rustc::hir::Param<$tcx>,
142147
[] pat: rustc::hir::Pat<$tcx>,
143-
[] path: rustc::hir::Path,
144-
[] path_segment: rustc::hir::PathSegment,
145-
[] qpath: rustc::hir::QPath,
148+
[] path: rustc::hir::Path<$tcx>,
149+
[] path_segment: rustc::hir::PathSegment<$tcx>,
150+
[] poly_trait_ref: rustc::hir::PolyTraitRef<$tcx>,
151+
[] qpath: rustc::hir::QPath<$tcx>,
146152
[] stmt: rustc::hir::Stmt<$tcx>,
147153
[] struct_field: rustc::hir::StructField<$tcx>,
148154
[] trait_item_ref: rustc::hir::TraitItemRef,
149-
[] ty: rustc::hir::Ty,
155+
[] ty: rustc::hir::Ty<$tcx>,
156+
[] type_binding: rustc::hir::TypeBinding<$tcx>,
150157
[] variant: rustc::hir::Variant<$tcx>,
158+
[] where_predicate: rustc::hir::WherePredicate<$tcx>,
151159
], $tcx);
152160
)
153161
}

0 commit comments

Comments
 (0)