2018-11-10 18:58:37 +03:00
|
|
|
error[E0603]: macro `mac` is private
|
|
|
|
--> $DIR/decl-macro.rs:8:8
|
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | m::mac!();
|
2020-03-22 15:36:54 -07:00
|
|
|
| ^^^ private macro
|
2020-01-12 16:04:03 +03:00
|
|
|
|
|
|
|
|
note: the macro `mac` is defined here
|
|
|
|
--> $DIR/decl-macro.rs:4:5
|
|
|
|
|
|
|
|
|
LL | macro mac() {}
|
|
|
|
| ^^^^^^^^^^^
|
2018-11-10 18:58:37 +03:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|