Closed
Description
The following example reports error: bar is private, and cannot be reexported [E0364]
four times.
fn bar() {}
pub use bar as baz;
pub use a::*;
mod a { pub use b::foo; }
mod b { pub use c::foo; }
mod c { pub fn foo() {} }
If the glob import is commented out, it only prints the error once.
Metadata
Metadata
Assignees
Labels
No labels