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

resolve: Cleanup visibility resolution for enum variants and trait items #80762

Merged
merged 2 commits into from
Feb 11, 2021

Commits on Feb 10, 2021

  1. Configuration menu
    Copy the full SHA
    b4b6b62 View commit details
    Browse the repository at this point in the history
  2. resolve: Remove visibility hacks for enum variants and trait items

    Special treatment like this was necessary before `pub(restricted)` had been implemented and only two visibilities existed - `pub` and non-`pub`.
    Now it's no longer necessary and the desired behavior follows from `pub(restricted)`-style visibilities naturally assigned to enum variants and trait items.
    petrochenkov committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    8e74842 View commit details
    Browse the repository at this point in the history