about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDennis Hamester <dennis.hamester@gmail.com>2020-07-11 19:39:02 +0200
committerDennis Hamester <dennis.hamester@gmail.com>2020-07-22 21:36:30 +0200
commited53de029cf84651423007ec68305d6e772c819f (patch)
treecdb40eb0a80b7103912e61bfeb89cf298c3c9a6c /src/rustllvm/RustWrapper.cpp
parent9e92106d457abd14f82adc29e7f2496861e07916 (diff)
downloadrust-ed53de029cf84651423007ec68305d6e772c819f.tar.gz
rust-ed53de029cf84651423007ec68305d6e772c819f.zip
rustdoc: Always warn when linking from public to private items
Change the logic such that linking from a public to a private item always
triggers intra_doc_link_resolution_failure. Previously, the warning was
not emitted when --document-private-items is passed.

Also don't rely anymore on the item's visibility, which would falsely trigger
the lint now that the check for --document-private-items is gone.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions