Rollup merge of #90990 - nnethercote:arenas-cleanup, r=oli-obk

Arenas cleanup

I was looking closely at the arenas code and here are some small improvement to readability.
This commit is contained in:
Yuki Okushi
2021-11-19 13:06:38 +09:00
committed by GitHub
5 changed files with 80 additions and 71 deletions

View File

@@ -84,7 +84,7 @@ mod item;
mod pat;
mod path;
rustc_hir::arena_types!(rustc_arena::declare_arena, 'tcx);
rustc_hir::arena_types!(rustc_arena::declare_arena);
struct LoweringContext<'a, 'hir: 'a> {
/// Used to assign IDs to HIR nodes that do not directly correspond to AST nodes.