fork/rust

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

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

master
836 B29 linesraw
1error[E0364]: `bar` is only public within the crate, and cannot be re-exported outside
2  --> $DIR/macro-private-reexport.rs:10:13
3   |
4LL |     pub use bar as _;
5   |             ^^^^^^^^
6   |
7help: consider adding a `#[macro_export]` to the macro in the imported module
8  --> $DIR/macro-private-reexport.rs:6:5
9   |
10LL | /     macro_rules! bar {
11LL | |         () => {};
12LL | |     }
13   | |_____^
14
15error[E0364]: `baz` is private, and cannot be re-exported
16  --> $DIR/macro-private-reexport.rs:14:13
17   |
18LL |     pub use baz as _;
19   |             ^^^^^^^^
20   |
21note: consider marking `baz` as `pub` in the imported module
22  --> $DIR/macro-private-reexport.rs:14:13
23   |
24LL |     pub use baz as _;
25   |             ^^^^^^^^
26
27error: aborting due to 2 previous errors
28
29For more information about this error, try `rustc --explain E0364`.