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
277 B
Plaintext
Raw Normal View History

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