1 error[E0364]: `foo` is private, and cannot be re-exported
2 --> $DIR/reexports.rs:16:17
4 LL | pub use super::foo; //~ ERROR cannot be re-exported
7 note: consider marking `foo` as `pub` in the imported module
8 --> $DIR/reexports.rs:16:17
10 LL | pub use super::foo; //~ ERROR cannot be re-exported
13 error: A non-empty glob must import something with the glob's visibility
14 --> $DIR/reexports.rs:17:17
16 LL | pub use super::*; //~ ERROR must import something with the glob's visibility
19 error[E0603]: module `foo` is private
20 --> $DIR/reexports.rs:38:15
22 LL | use b::a::foo::S; //~ ERROR `foo`
25 error[E0603]: module `foo` is private
26 --> $DIR/reexports.rs:39:15
28 LL | use b::b::foo::S as T; //~ ERROR `foo`
31 error: aborting due to 4 previous errors
33 Some errors occurred: E0364, E0603.
34 For more information about an error, try `rustc --explain E0364`.