about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-30 10:52:04 +0000
committerbors <bors@rust-lang.org>2022-10-30 10:52:04 +0000
commitfab0432952b24df769459d4c973dbb8d08561a83 (patch)
treee8ef8844b764e2849249fd92b2bc2124154fc20c /compiler/rustc_codegen_llvm/src/builder.rs
parente96c330af5e3baebe7a80999744e2e082b279d0a (diff)
parentf1850d4c9b5f4f64ad41193bb8c846027754f0ca (diff)
downloadrust-fab0432952b24df769459d4c973dbb8d08561a83.tar.gz
rust-fab0432952b24df769459d4c973dbb8d08561a83.zip
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 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions