diff options
| author | Dennis Hamester <dennis.hamester@gmail.com> | 2020-07-08 07:39:49 +0200 |
|---|---|---|
| committer | Dennis Hamester <dennis.hamester@gmail.com> | 2020-07-08 08:15:34 +0200 |
| commit | c8b16cdbd0f06c66467c082b9d3e190255fa295d (patch) | |
| tree | 9b11180af24feffbded13c968828fa436b259de9 /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | 8ac1525e091d3db28e67adcbbd6db1e1deaa37fb (diff) | |
| download | rust-c8b16cdbd0f06c66467c082b9d3e190255fa295d.tar.gz rust-c8b16cdbd0f06c66467c082b9d3e190255fa295d.zip | |
rustdoc: Allow linking from private items to private types
Fixes #74134 After PR #72771 this would trigger an intra_doc_link_resolution_failure warning when rustdoc is invoked without --document-private-items. Links from private items to private types are however never actually generated in that case and thus shouldn't produce a warning. These links are in fact a very useful tool to document crate internals. Tests are added for all 4 combinations of public/private items and link targets. Test 1 is the case mentioned above and fails without this commit. Tests 2 - 4 passed before already but are added nonetheless to prevent regressions.
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
