rust/src/test/ui/parser/pub-method-macro.stderr
Vadim Petrochenkov 7977250fb4 Make sure all ui/parse tests have -Z parse-only
Except those testing parsing during macro expansion
2018-10-21 14:06:29 +03:00

10 lines
301 B
Text

error: can't qualify macro invocation with `pub`
--> $DIR/pub-method-macro.rs:29:9
|
LL | pub defn!(f); //~ ERROR can't qualify macro invocation with `pub`
| ^^^
|
= help: try adjusting the macro to put `pub` inside the invocation
error: aborting due to previous error