summaryrefslogtreecommitdiffstats
path: root/tests/ui/did_you_mean/pub-macro-rules.stderr
blob: ba9020460cea3d44f52e6028270a804c6e89b65d (plain)
1
2
3
4
5
6
7
8
error: can't qualify macro_rules invocation with `pub`
  --> $DIR/pub-macro-rules.rs:2:5
   |
LL |     pub macro_rules! foo {
   |     ^^^ help: try exporting the macro: `#[macro_export]`

error: aborting due to 1 previous error