mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
230 B
Plaintext
9 lines
230 B
Plaintext
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
|
|
|