rust/src/test/ui/parser/macro/trait-non-item-macros.stderr

14 lines
478 B
Plaintext
Raw Normal View History

error: expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`, `unsafe`, or identifier, found `2`
2018-12-25 09:56:47 -06:00
--> $DIR/trait-non-item-macros.rs:2:19
2018-10-20 15:36:17 -05:00
|
LL | ($a:expr) => ($a)
| ^^ expected one of 10 possible tokens
2018-10-20 15:36:17 -05:00
...
LL | bah!(2);
| -------- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
2018-10-20 15:36:17 -05:00
error: aborting due to previous error