We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems that if the type is visible, an impl's pub methods can be used, even if such an impl is encased in multiple private modules.
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2015&gist=bf21f358b4b57075d1243a3b07d93da9
The text was updated successfully, but these errors were encountered:
This is working as expected, impls are always as public as the type/trait they're for.
impl
Sorry, something went wrong.
Is there anywhere this is documented? I've been looking, I can't find that behaviour listed anywhere.
Doesn't look like it
Then that's obviously an issue in and of itself.
No branches or pull requests
It seems that if the type is visible, an impl's pub methods can be used, even if such an impl is encased in multiple private modules.
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2015&gist=bf21f358b4b57075d1243a3b07d93da9
The text was updated successfully, but these errors were encountered: