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:
commit
1576a7cc81
5 changed files with 80 additions and 71 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue