rust/tests/ui/parser/pub-method-macro.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
279 B
Plaintext
Raw Normal View History

2018-10-20 20:36:17 +00:00
error: can't qualify macro invocation with `pub`
--> $DIR/pub-method-macro.rs:17:9
2018-10-20 20:36:17 +00:00
|
2019-03-09 12:03:44 +00:00
LL | pub defn!(f);
| ^^^ help: remove the visibility
2018-10-20 20:36:17 +00:00
|
= help: try adjusting the macro to put `pub` inside the invocation
error: aborting due to 1 previous error
2018-10-20 20:36:17 +00:00