]> git.proxmox.com Git - rustc.git/blame - tests/ui/rust-2018/uniform-paths/macro-rules.stderr
New upstream version 1.72.1+dfsg1
[rustc.git] / tests / ui / rust-2018 / uniform-paths / macro-rules.stderr
CommitLineData
3c0e092e 1error[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 4LL | pub use legacy_macro as _;
13cf67c4
XL
5 | ^^^^^^^^^^^^^^^^^
6 |
923072b8
FG
7help: consider adding a `#[macro_export]` to the macro in the imported module
8 --> $DIR/macro-rules.rs:7:5
13cf67c4 9 |
923072b8
FG
10LL | macro_rules! legacy_macro { () => () }
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13cf67c4 12
fe692bf9 13error: aborting due to previous error
13cf67c4 14
fe692bf9 15For more information about this error, try `rustc --explain E0364`.