[−][src]Function rustc_expand::mbe::macro_check::check_occurrences

pub(in mbe::macro_check) fn check_occurrences(
    sess: &ParseSess,
    node_id: NodeId,
    rhs: &TokenTree,
    macros: &Stack<'_, MacroState<'_>>,
    binders: &FxHashMap<MacroRulesNormalizedIdent, BinderInfo>,
    ops: &Stack<'_, KleeneToken>,
    valid: &mut bool
)

Checks rhs as part of the RHS of a macro definition and sets valid to false in case of errors.

Arguments: