diff options
Diffstat (limited to 'src/test/ui/parser/macro/pub-item-macro.stderr')
| -rw-r--r-- | src/test/ui/parser/macro/pub-item-macro.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/parser/macro/pub-item-macro.stderr b/src/test/ui/parser/macro/pub-item-macro.stderr new file mode 100644 index 00000000000..f55ba469ab4 --- /dev/null +++ b/src/test/ui/parser/macro/pub-item-macro.stderr @@ -0,0 +1,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 + |
