I find that in several cases I would like to have sibling modules access private members, that is, allow "foo::bar::Bar" access the private members of "foo::baz::Baz", but disallow any code in "qux::*" from accessing these members.
Currently in these cases I am forced to expose as public stuff that really should be private, or merge too much code into one module. In a word, is this even possible, or is planned to be possible? I know there have been some hot debates on visibility and accessibility and modules and crates, and I don't want to re-open it :-) I just want to know what the state of affairs is.
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
