rustc_hir/
arena.rs

1/// This higher-order macro declares a list of types which can be allocated by `Arena`.
2/// Note that all `Copy` types can be allocated by default and need not be specified here.
3#[macro_export]
4macro_rules! arena_types {
5    ($macro:path) => (
6        $macro!([
7            // HIR types
8            [] asm_template: rustc_ast::InlineAsmTemplatePiece,
9            [] attribute: rustc_hir::Attribute,
10            [] owner_info: rustc_hir::OwnerInfo<'tcx>,
11            [] use_path: rustc_hir::UsePath<'tcx>,
12            [] lit: rustc_hir::Lit,
13            [] macro_def: rustc_ast::MacroDef,
14        ]);
15    )
16}