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