]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/macro/trait-non-item-macros.stderr
Allow `Downcast` projections in `qualify_min_const_fn`
[rust.git] / src / test / ui / parser / macro / trait-non-item-macros.stderr
1 error: expected one of `async`, `const`, `extern`, `fn`, `type`, or `unsafe`, found `2`
2   --> $DIR/trait-non-item-macros.rs:2:19
3    |
4 LL |     ($a:expr) => ($a)
5    |                   ^^ expected one of `async`, `const`, `extern`, `fn`, `type`, or `unsafe`
6 ...
7 LL |     bah!(2);
8    |     -------- in this macro invocation
9
10 error: aborting due to previous error
11