Function rustc_expand::mbe::macro_check::get_binder_info

source ·
fn get_binder_info<'a>(
    macros: &'a Stack<'a, MacroState<'a>>,
    binders: &'a FxHashMap<MacroRulesNormalizedIdent, BinderInfo>,
    name: MacroRulesNormalizedIdent
) -> Option<&'a BinderInfo>
Expand description

Returns the binder information of a meta-variable.

Arguments:

  • macros is the stack of possible outer macros
  • binders contains the current binders
  • name is the name of the meta-variable we are looking for