]>
Commit | Line | Data |
---|---|---|
3c0e092e | 1 | error[E0364]: `legacy_macro` is only public within the crate, and cannot be re-exported outside |
69743fb6 | 2 | --> $DIR/macro-rules.rs:11:13 |
13cf67c4 | 3 | | |
532ac7d7 | 4 | LL | pub use legacy_macro as _; |
13cf67c4 XL |
5 | | ^^^^^^^^^^^^^^^^^ |
6 | | | |
923072b8 FG |
7 | help: consider adding a `#[macro_export]` to the macro in the imported module |
8 | --> $DIR/macro-rules.rs:7:5 | |
13cf67c4 | 9 | | |
923072b8 FG |
10 | LL | macro_rules! legacy_macro { () => () } |
11 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
13cf67c4 | 12 | |
4b012472 | 13 | error: aborting due to 1 previous error |
13cf67c4 | 14 | |
fe692bf9 | 15 | For more information about this error, try `rustc --explain E0364`. |