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.

16 lines
340 B
Plaintext
Raw Permalink 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);
| ^^^
2018-10-20 20:36:17 +00:00
|
= help: try adjusting the macro to put `pub` inside the invocation
help: remove the visibility
|
LL - pub defn!(f);
LL + defn!(f);
|
2018-10-20 20:36:17 +00:00
error: aborting due to 1 previous error
2018-10-20 20:36:17 +00:00