]> git.lizzy.rs Git - rust.git/commit
Auto merge of #107054 - petrochenkov:effvisdoc3, r=GuillaumeGomez
authorbors <bors@rust-lang.org>
Fri, 27 Jan 2023 09:01:05 +0000 (09:01 +0000)
committerbors <bors@rust-lang.org>
Fri, 27 Jan 2023 09:01:05 +0000 (09:01 +0000)
commit6874f4e3fc2a16be7c78e702d068bbc1daa90e16
tree144fcf07feb76150987171cd362c2a8a48f2c1e9
parent18890f05f6cea40fd25bb4bb9aa6f7372b69f641
parent398225842cbff0cdd45021bfe91712d407a900b8
Auto merge of #107054 - petrochenkov:effvisdoc3, r=GuillaumeGomez

rustdoc: Collect "rustdoc-reachable" items during early doc link resolution

This pass only needs to know about visibilities, attributes and reexports, so it can be run early, similarly to `compute_effective_visibilities` in rustc.
Results of this pass can be used to prune the list of extern impls early thus improving performance of https://github.com/rust-lang/rust/pull/94857.