fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
372 B15 linesraw
1error[E0603]: module `bar` is private
2  --> $DIR/shadowed-use-visibility.rs:9:14
3   |
4LL |     use foo::bar::f as g;
5   |              ^^^
6
7error[E0603]: module `f` is private
8  --> $DIR/shadowed-use-visibility.rs:15:10
9   |
10LL | use bar::f::f;
11   |          ^
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0603`.