File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ expand_invalid_fragment_specifier =
7070 invalid fragment specifier `{ $fragment } `
7171 .help = { $help }
7272
73- expand_macro_args_bad_delim = macro argument matchers require parentheses
73+ expand_macro_args_bad_delim = macro attribute argument matchers require parentheses
7474expand_macro_args_bad_delim_sugg = the delimiters should be `(` and `)`
7575
7676expand_macro_body_stability =
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ macro_rules! attr_incomplete_4 { attr() {} => }
1414//~^ ERROR macro definition ended unexpectedly
1515
1616macro_rules! attr_noparens_1 { attr{ } { } => { } }
17- //~^ ERROR macro argument matchers require parentheses
17+ //~^ ERROR macro attribute argument matchers require parentheses
1818
1919macro_rules! attr_noparens_2 { attr[ ] { } => { } }
20- //~^ ERROR macro argument matchers require parentheses
20+ //~^ ERROR macro attribute argument matchers require parentheses
2121
2222macro_rules! attr_noparens_3 { attr _ { } => { } }
2323//~^ ERROR invalid macro matcher
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ error: macro definition ended unexpectedly
2222LL | macro_rules! attr_incomplete_4 { attr() {} => }
2323 | ^ expected right-hand side of macro rule
2424
25- error: macro argument matchers require parentheses
25+ error: macro attribute argument matchers require parentheses
2626 --> $DIR/macro-attr-bad.rs:16:36
2727 |
2828LL | macro_rules! attr_noparens_1 { attr{} {} => {} }
@@ -34,7 +34,7 @@ LL - macro_rules! attr_noparens_1 { attr{} {} => {} }
3434LL + macro_rules! attr_noparens_1 { attr() {} => {} }
3535 |
3636
37- error: macro argument matchers require parentheses
37+ error: macro attribute argument matchers require parentheses
3838 --> $DIR/macro-attr-bad.rs:19:36
3939 |
4040LL | macro_rules! attr_noparens_2 { attr[] {} => {} }
You can’t perform that action at this time.
0 commit comments