mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
9 lines
228 B
Plaintext
9 lines
228 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 previous error
|
|
|