Open
Description
This section adding new public items
states that
adding new public items is currently a breaking change, due to glob imports
But look at this example (playground):
mod baz{
use foo::*;
mod foo {
pub fn bar() {
println!("bar");
}
}
pub fn bar() {
println!("foo");
}
}
use baz::bar;
fn main() {
bar()
}
It compiles fine with the output:
foo