2021-11-06 04:43:55 +09:00
|
|
|
error[E0364]: `legacy_macro` is only public within the crate, and cannot be re-exported outside
|
2018-12-09 21:49:21 +03:00
|
|
|
--> $DIR/macro-rules.rs:11:13
|
2018-11-11 20:28:56 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | pub use legacy_macro as _;
|
2018-11-11 20:28:56 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2022-06-14 14:58:46 +09:00
|
|
|
help: consider adding a `#[macro_export]` to the macro in the imported module
|
|
|
|
--> $DIR/macro-rules.rs:7:5
|
2018-11-11 20:28:56 +03:00
|
|
|
|
|
2022-06-14 14:58:46 +09:00
|
|
|
LL | macro_rules! legacy_macro { () => () }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-11-11 20:28:56 +03:00
|
|
|
|
2023-05-29 23:36:06 +03:00
|
|
|
error: aborting due to previous error
|
2018-11-11 20:28:56 +03:00
|
|
|
|
2023-05-29 23:36:06 +03:00
|
|
|
For more information about this error, try `rustc --explain E0364`.
|