about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authoravitex <theavitex@gmail.com>2021-12-28 21:37:08 +1100
committeravitex <theavitex@gmail.com>2021-12-28 21:37:08 +1100
commitb0a1a4469ae3bcab01c999228e0c1e3e9506b43c (patch)
tree142d45b4188e980554e6cae4c3f8dc9317a7735e /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff
parentcc65bf3ded93352fd4693a9c58b84a60721637a6 (diff)
downloadrust-b0a1a4469ae3bcab01c999228e0c1e3e9506b43c.tar.gz
rust-b0a1a4469ae3bcab01c999228e0c1e3e9506b43c.zip
Fix rustdoc::private_doc_tests lint for public re-exported items
This involves changing the lint to check the access level is exported,
rather than public. The exported access level 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 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions