1error: can't qualify macro_rules invocation with `pub` 2 --> $DIR/pub-macro-rules.rs:2:5 3 | 4LL | pub macro_rules! foo { 5 | ^^^ help: try exporting the macro: `#[macro_export]` 6 7error: aborting due to previous error 8 9