On 07/30/2013 05:09 AM, Dov Reshef wrote:
Hello,

I'd like to get people's opinions about crate local visibility. I feel that the way the public / private scope is divided now is encouraging making either too much code public or creating very large modules. If crate local visibility is not doable / too complex, then I'd ask to at least allow inner modules access to their ancestors' private items.

What do you think? Is it a good idea?


There are bugs in name resolution that cause certain patterns that should work to fail. I believe that child modules are supposed to have access to private items of their parents.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to