fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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