Skip to content
New issue

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

Update E0446.md #73351

Merged
merged 1 commit into from
Jun 15, 2020
Merged

Update E0446.md #73351

merged 1 commit into from
Jun 15, 2020

Commits on Jun 14, 2020

  1. Update E0446.md

    The existing error documentation did not show how to use a child module's functions if the types used in those functions are private. These are some other places this problem has popped up that did not present a solution (these are from before the solution existed, 2016-2017. The solution was released in the Rust 2018 edition. However these were the places I was pointed to when I encountered the problem myself):
    #30905
    https://stackoverflow.com/questions/39334430/how-to-reference-private-types-from-public-functions-in-private-modules/62374958#62374958
    gabenodarse authored Jun 14, 2020
    Configuration menu
    Copy the full SHA
    8361ee5 View commit details
    Browse the repository at this point in the history