Struct rustc_resolve::macros::MacroRulesBinding [−][src]
pub struct MacroRulesBinding<'a> {
pub(crate) binding: &'a NameBinding<'a>,
pub(crate) parent_macro_rules_scope: PtrKey<'a, Cell<MacroRulesScope<'a>>>,
pub(crate) ident: Ident,
}Expand description
Binding produced by a macro_rules item.
Not modularized, can shadow previous macro_rules bindings, etc.
Fields
binding: &'a NameBinding<'a>parent_macro_rules_scope: PtrKey<'a, Cell<MacroRulesScope<'a>>>Expand description
macro_rules scope into which the macro_rules item was planted.
ident: Ident