1 use rustc_macros::Diagnostic;
2 use rustc_span::symbol::MacroRulesNormalizedIdent;
6 #[diag(expand::expr_repeat_no_syntax_vars)]
7 pub(crate) struct NoSyntaxVarsExprRepeat {
13 #[diag(expand::must_repeat_once)]
14 pub(crate) struct MustRepeatOnce {
20 #[diag(expand::count_repetition_misplaced)]
21 pub(crate) struct CountRepetitionMisplaced {
27 #[diag(expand::meta_var_expr_unrecognized_var)]
28 pub(crate) struct MetaVarExprUnrecognizedVar {
31 pub key: MacroRulesNormalizedIdent,
35 #[diag(expand::var_still_repeating)]
36 pub(crate) struct VarStillRepeating {
39 pub ident: MacroRulesNormalizedIdent,
43 #[diag(expand::meta_var_dif_seq_matchers)]
44 pub(crate) struct MetaVarsDifSeqMatchers {