rust/src/test/ui/shadowed/shadowed-use-visibility.stderr

16 lines
439 B
Plaintext
Raw Normal View History

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