Skip to content

Commit

Permalink
Rollup merge of #120339 - petrochenkov:nameprivisit, r=michaelwoerister
Browse files Browse the repository at this point in the history
privacy: Refactor top-level visiting in `NamePrivacyVisitor`

Full hierarchical visiting (`nested_filter::All`) is not necessary, visiting all item-likes in isolation is enough.
Tracking current item is not necessary, passing any `HirId` with the same parent module to `adjust_ident_and_get_scope` is enough.

Follow up to rust-lang/rust#120284.
  • Loading branch information
matthiaskrgr committed Jan 26, 2024
2 parents fdf096a + a55f44f commit cf03434
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit cf03434

Please sign in to comment.