summary refs log tree commit diff
path: root/src/test/ui/parser/macro/pub-item-macro.stderr
blob: f55ba469ab4353e936b83d6ab7f189f9ff4d1230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: can't qualify macro invocation with `pub`
  --> $DIR/pub-item-macro.rs:18:5
   |
LL |     pub priv_x!(); //~ ERROR can't qualify macro invocation with `pub`
   |     ^^^
...
LL |     pub_x!();
   |     --------- in this macro invocation
   |
   = help: try adjusting the macro to put `pub` inside the invocation

error: aborting due to previous error