summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/meta-variable-depth-outside-repeat.stderr
blob: fad150cadfca6ccd3c1f760dffa6bc5992b325ea (plain)
1
2
3
4
5
6
7
8
error: meta-variable expression `length` with depth parameter must be called inside of a macro repetition
  --> $DIR/meta-variable-depth-outside-repeat.rs:5:10
   |
LL |         ${length(0)}
   |          ^^^^^^^^^^^

error: aborting due to previous error