rust/src/test/ui/shadowed/shadowed-use-visibility.stderr
2018-12-25 21:08:33 -07:00

16 lines
438 B
Plaintext

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