summary refs log tree commit diff
path: root/src/test/ui/shadowed/shadowed-use-visibility.stderr
blob: 4faaf6cce2435de6790d5a43d57d919148ef135b (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:19:14
   |
LL |     use foo::bar::f as g; //~ ERROR module `bar` is private
   |              ^^^

error[E0603]: module `f` is private
  --> $DIR/shadowed-use-visibility.rs:25: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`.