diff options
author | bors <bors@rust-lang.org> | 2022-10-30 10:52:04 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-10-30 10:52:04 +0000 |
commit | fab0432952b24df769459d4c973dbb8d08561a83 (patch) | |
tree | e8ef8844b764e2849249fd92b2bc2124154fc20c /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | e96c330af5e3baebe7a80999744e2e082b279d0a (diff) | |
parent | f1850d4c9b5f4f64ad41193bb8c846027754f0ca (diff) | |
download | rust-fab0432952b24df769459d4c973dbb8d08561a83.tar.gz |
Auto merge of #103010 - petrochenkov:effvisdoc, r=GuillaumeGomez
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 https://github.com/rust-lang/rust/pull/102026 `@Bryanskiy`
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions