summaryrefslogtreecommitdiffstats
path: root/tests/ui/did_you_mean/pub-macro-rules.stderr
blob: 0bde5783b8cc615e1784c6f31e491dbbeb1882b5 (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 previous error