rust/src/test/ui/macros/macro-error.stderr
Vadim Petrochenkov b003dd6d9b expand: Merge expand_{bang,attr,derive}_invoc into a single function
It's more convenient to have all this highly related stuff together on one screen (for future refactorings).
The `expand_invoc` function is compact enough now, after all the previous refactorings.
2019-07-11 00:12:57 +03:00

14 lines
302 B
Text

error: macro rhs must be delimited
--> $DIR/macro-error.rs:2:18
|
LL | ($a:expr) => a;
| ^
error: non-type macro in type position: cfg
--> $DIR/macro-error.rs:8:12
|
LL | let _: cfg!(foo) = ();
| ^^^^^^^^^
error: aborting due to 2 previous errors