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 visibility of intermediate use items. #57922

Merged
merged 1 commit into from
Feb 3, 2019

Commits on Feb 2, 2019

  1. Update visibility of intermediate use items.

    Currently, the target of a use statement will be updated with
    the visibility of the use statement itself (if the use statement was
    visible).
    
    This commit ensures that if the path to the target item is via another
    use statement then that intermediate use statement will also have the
    visibility updated like the target. This silences incorrect
    `unreachable_pub` lints with inactionable suggestions.
    davidtwco committed Feb 2, 2019
    Configuration menu
    Copy the full SHA
    7102339 View commit details
    Browse the repository at this point in the history