Skip to content

Commit ba268ca

Browse files
tests: add the _ as expr test for cargo fix
Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent 866885c commit ba268ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/macros/expr_2024_underscore_expr.edi2024.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: no rules expected the token `_`
2-
--> $DIR/expr_2024_underscore_expr.rs:23:12
2+
--> $DIR/expr_2024_underscore_expr.rs:22:12
33
|
44
LL | macro_rules! m2021 {
55
| ------------------ when calling this macro
@@ -8,7 +8,7 @@ LL | m2021!(_);
88
| ^ no rules expected this token in macro call
99
|
1010
note: while trying to match meta-variable `$e:expr_2021`
11-
--> $DIR/expr_2024_underscore_expr.rs:11:6
11+
--> $DIR/expr_2024_underscore_expr.rs:10:6
1212
|
1313
LL | ($e:expr_2021) => {
1414
| ^^^^^^^^^^^^

0 commit comments

Comments
 (0)