fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
542 B21 linesraw
1error[E0364]: `f` is private, and cannot be re-exported
2  --> $DIR/privacy-early.rs:10:13
3   |
4LL |         use f as g;
5   |             ^^^^^^
6...
7LL |     foo::m!();
8   |     ---------- in this macro invocation
9   |
10note: consider marking `f` as `pub` in the imported module
11  --> $DIR/privacy-early.rs:10:13
12   |
13LL |         use f as g;
14   |             ^^^^^^
15...
16LL |     foo::m!();
17   |     ---------- in this macro invocation
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0364`.