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

16 lines
438 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0603]: module `bar` is private
2018-12-25 09:56:47 -06:00
--> $DIR/shadowed-use-visibility.rs:9: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
2018-12-25 09:56:47 -06:00
--> $DIR/shadowed-use-visibility.rs:15: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`.