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 =
70
70
invalid fragment specifier `{ $fragment } `
71
71
.help = { $help }
72
72
73
- expand_macro_args_bad_delim = macro argument matchers require parentheses
73
+ expand_macro_args_bad_delim = macro attribute argument matchers require parentheses
74
74
expand_macro_args_bad_delim_sugg = the delimiters should be `(` and `)`
75
75
76
76
expand_macro_body_stability =
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ macro_rules! attr_incomplete_4 { attr() {} => }
14
14
//~^ ERROR macro definition ended unexpectedly
15
15
16
16
macro_rules! attr_noparens_1 { attr{ } { } => { } }
17
- //~^ ERROR macro argument matchers require parentheses
17
+ //~^ ERROR macro attribute argument matchers require parentheses
18
18
19
19
macro_rules! attr_noparens_2 { attr[ ] { } => { } }
20
- //~^ ERROR macro argument matchers require parentheses
20
+ //~^ ERROR macro attribute argument matchers require parentheses
21
21
22
22
macro_rules! attr_noparens_3 { attr _ { } => { } }
23
23
//~^ ERROR invalid macro matcher
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ error: macro definition ended unexpectedly
22
22
LL | macro_rules! attr_incomplete_4 { attr() {} => }
23
23
| ^ expected right-hand side of macro rule
24
24
25
- error: macro argument matchers require parentheses
25
+ error: macro attribute argument matchers require parentheses
26
26
--> $DIR/macro-attr-bad.rs:16:36
27
27
|
28
28
LL | macro_rules! attr_noparens_1 { attr{} {} => {} }
@@ -34,7 +34,7 @@ LL - macro_rules! attr_noparens_1 { attr{} {} => {} }
34
34
LL + macro_rules! attr_noparens_1 { attr() {} => {} }
35
35
|
36
36
37
- error: macro argument matchers require parentheses
37
+ error: macro attribute argument matchers require parentheses
38
38
--> $DIR/macro-attr-bad.rs:19:36
39
39
|
40
40
LL | macro_rules! attr_noparens_2 { attr[] {} => {} }
You can’t perform that action at this time.
0 commit comments