summaryrefslogtreecommitdiff
path: root/tests/ui/macros/expr_2021_inline_const.edi2021.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/expr_2021_inline_const.edi2021.stderr')
-rw-r--r--tests/ui/macros/expr_2021_inline_const.edi2021.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/macros/expr_2021_inline_const.edi2021.stderr b/tests/ui/macros/expr_2021_inline_const.edi2021.stderr
index b55ae62030c..22d662aaaf2 100644
--- a/tests/ui/macros/expr_2021_inline_const.edi2021.stderr
+++ b/tests/ui/macros/expr_2021_inline_const.edi2021.stderr
@@ -1,5 +1,5 @@
error: no rules expected the token `const`
- --> $DIR/expr_2021_inline_const.rs:26:12
+ --> $DIR/expr_2021_inline_const.rs:23:12
|
LL | macro_rules! m2021 {
| ------------------ when calling this macro
@@ -8,13 +8,13 @@ LL | m2021!(const { 1 });
| ^^^^^ no rules expected this token in macro call
|
note: while trying to match meta-variable `$e:expr_2021`
- --> $DIR/expr_2021_inline_const.rs:10:6
+ --> $DIR/expr_2021_inline_const.rs:7:6
|
LL | ($e:expr_2021) => {
| ^^^^^^^^^^^^
error: no rules expected the token `const`
- --> $DIR/expr_2021_inline_const.rs:27:12
+ --> $DIR/expr_2021_inline_const.rs:24:12
|
LL | macro_rules! m2024 {
| ------------------ when calling this macro
@@ -23,7 +23,7 @@ LL | m2024!(const { 1 });
| ^^^^^ no rules expected this token in macro call
|
note: while trying to match meta-variable `$e:expr`
- --> $DIR/expr_2021_inline_const.rs:16:6
+ --> $DIR/expr_2021_inline_const.rs:13:6
|
LL | ($e:expr) => {
| ^^^^^^^