about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-22 16:34:39 -0700
committerGitHub <noreply@github.com>2020-07-22 16:34:39 -0700
commit02e350f5a2a0dc35a533ee3154aa7b92176ab7bc (patch)
treec557434304a7478f99b174458edb69751973e216 /src/rustllvm/RustWrapper.cpp
parentda449a9c1b018c5f57ce324c6fe02366bf3a868b (diff)
parentc14641a814696f6dffe5a0e7d693af31a4e40d09 (diff)
downloadrust-02e350f5a2a0dc35a533ee3154aa7b92176ab7bc.tar.gz
rust-02e350f5a2a0dc35a533ee3154aa7b92176ab7bc.zip
Rollup merge of #74460 - dennis-hamester:rustdoc-warn-pub-to-priv, r=jyn514
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.

This came up during the discussion in https://github.com/rust-lang/rust/pull/74147#discussion_r452597901.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions