about summary refs log tree commit diff
path: root/src/test/ui/parser/macro/trait-non-item-macros.stderr
blob: 0a433ab278e43b327de3daff1732efdabc31a856 (plain)
1
2
3
4
5
6
7
8
9
10
11
error: expected one of `async`, `const`, `crate`, `extern`, `fn`, `pub`, `type`, or `unsafe`, found `2`
  --> $DIR/trait-non-item-macros.rs:2:19
   |
LL |     ($a:expr) => ($a)
   |                   ^^ expected one of 8 possible tokens
...
LL |     bah!(2);
   |     -------- in this macro invocation

error: aborting due to previous error