mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
353 B
Plaintext
16 lines
353 B
Plaintext
error[E0603]: macro `mac` is private
|
|
--> $DIR/decl-macro.rs:8:8
|
|
|
|
|
LL | m::mac!();
|
|
| ^^^ private macro
|
|
|
|
|
note: the macro `mac` is defined here
|
|
--> $DIR/decl-macro.rs:4:5
|
|
|
|
|
LL | macro mac() {}
|
|
| ^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|