about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-06 12:01:01 +0100
committerGitHub <noreply@github.com>2022-01-06 12:01:01 +0100
commit4d0b567efb3407af5bd9c7452ddec193f9792c56 (patch)
tree34cc70b71932704ba8e1de12b2f21363ca9e184f /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent2647ce21659253596fffbd7b1ac57ec64d75b4bd (diff)
parent992646b9ebfc6eb6240ffaa2c2eec38f8502f168 (diff)
downloadrust-4d0b567efb3407af5bd9c7452ddec193f9792c56.tar.gz
rust-4d0b567efb3407af5bd9c7452ddec193f9792c56.zip
Rollup merge of #92349 - avitex:fix-rustdoc-private-doc-tests, r=GuillaumeGomez
Fix rustdoc::private_doc_tests lint for public re-exported items

Closes #72081

This involves changing the lint to check the access level is exported, rather than public.
The [exported access level](https://github.com/rust-lang/rust/blob/e91ad5fc62bdee4a29c18baa5fad2ca42fc91bf4/compiler/rustc_middle/src/middle/privacy.rs#L24) accounts for public items and items accessible to other crates with the help of `pub use` re-exports.
The pattern of re-exporting public items from a private module is usage seen in a number of popular crates.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions