bors 42b8c77da5 Auto merge of #57922 - davidtwco:issue-57410, r=petrochenkov
Update visibility of intermediate use items.

Fixes #57410 and fixes #53925 and fixes #47816.

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 PR 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.
2019-02-03 13:35:15 +00:00
..
2019-01-28 12:37:29 +01:00
2019-01-27 22:58:53 +01:00
2019-02-01 11:24:12 +01:00
2019-01-30 17:49:04 +01:00
2019-01-30 17:49:04 +01:00
2019-01-27 22:58:59 +01:00
2019-01-28 12:37:29 +01:00