mod foo {
mod bar { pub fn f() {} }
pub fn bar() {}
}
// This should re-export bar in the value namespace; now, it complains that the module `bar` is private.
pub use foo::bar;
// This re-exports bar in the value namespace as expected.
pub use foo::*;
fn main() { bar::f() }