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