Skip to content

Commit

Permalink
Auto merge of #103010 - petrochenkov:effvisdoc, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
rustdoc: Simplify modifications of effective visibility table

It is now obvious that rustdoc only calls `set_access_level` with foreign def ids and `AccessLevel::Public`.

The second commit makes one more step and separates effective visibilities coming from rustc from similar data collected by rustdoc for extern `DefId`s.
The original table is no longer modified and now only contains local def ids as populated by rustc.

cc rust-lang/rust#102026 `@Bryanskiy`
  • Loading branch information
bors committed Oct 30, 2022
2 parents 2c6bc73 + 89fa3e7 commit ea9386b
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit ea9386b

Please sign in to comment.