blob: 2e2c30dc6ad2168a031108f3845a22fb0a2992e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error: can't qualify macro invocation with `pub`
--> $DIR/pub-method-macro.rs:17:9
|
LL | pub defn!(f);
| ^^^
|
= help: try adjusting the macro to put `pub` inside the invocation
help: remove the visibility
|
LL - pub defn!(f);
LL + defn!(f);
|
error: aborting due to 1 previous error
|