about summary refs log tree commit diff
path: root/tests/ui/macros/rfc-3086-metavar-expr/syntax-errors.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/rfc-3086-metavar-expr/syntax-errors.stderr')
-rw-r--r--tests/ui/macros/rfc-3086-metavar-expr/syntax-errors.stderr3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/macros/rfc-3086-metavar-expr/syntax-errors.stderr b/tests/ui/macros/rfc-3086-metavar-expr/syntax-errors.stderr
index ce7694ecb1d..d9646760cea 100644
--- a/tests/ui/macros/rfc-3086-metavar-expr/syntax-errors.stderr
+++ b/tests/ui/macros/rfc-3086-metavar-expr/syntax-errors.stderr
@@ -338,6 +338,9 @@ LL |     no_curly__no_rhs_dollar__no_round!(a);
 error[E0425]: cannot find value `a` in this scope
   --> $DIR/syntax-errors.rs:152:37
    |
+LL |     ( $i:ident ) => { count($i) };
+   |                             -- due to this macro variable
+...
 LL |     no_curly__rhs_dollar__no_round!(a);
    |                                     ^ not found in this scope