These are chat archives for rust-lang/rust

25th
Dec 2018
David O'Connor
@David-OConnor
Dec 25 2018 16:01

Another Q: In 2018 Rust, pub use in the main crate appears not to work, eg you are exposing things from modules in an api, as if they were from the top-module. You can work around this by creating wrapper functions in lib.rs, but is there a more elegant way? (Like pub use)

edit: Perhaps a bug not fixed yet: rust-lang/rust#52140