fn check_binders(
psess: &ParseSess,
node_id: NodeId,
lhs: &TokenTree,
macros: &Stack<'_, MacroState<'_>>,
binders: &mut FxHashMap<MacroRulesNormalizedIdent, BinderInfo>,
ops: &Stack<'_, KleeneToken>,
guar: &mut Option<ErrorGuaranteed>,
)Expand description
Checks lhs as part of the LHS of a macro definition.
Arguments:
psessis used to emit diagnostics and lintsnode_idis used to emit lintslhsis checked as part of a LHSmacrosis the stack of possible outer macrosbinderscontains the binders of the LHSopsis the stack of Kleene operators from the LHSguaris set in case of errors