fn check_ops_is_prefix(
psess: &ParseSess,
node_id: NodeId,
macros: &Stack<'_, MacroState<'_>>,
binders: &FxHashMap<MacroRulesNormalizedIdent, BinderInfo>,
ops: &Stack<'_, KleeneToken>,
span: Span,
name: MacroRulesNormalizedIdent,
)Expand description
Checks that a meta-variable occurrence is valid.
Arguments:
psessis used to emit diagnostics and lintsnode_idis used to emit lintsmacrosis the stack of possible outer macrosbinderscontains the binders of the associated LHSopsis the stack of Kleene operators from the RHSspanis the span of the meta-variable to checknameis the name of the meta-variable to check