Commit 2d2a3f2
authored
Rollup merge of rust-lang#58824 - euclio:intra-link-ambiguity, r=petrochenkov
overhaul intra-doc-link ambiguity warning
Fixes rust-lang#52784.
- Makes the warning part of the `intra_doc_link_resolution_failure`
lint.
- Tightens the span to just the ambiguous link.
- Reports ambiguities across all three namespaces.
- Uses structured suggestions for disambiguation.
- Adds a test for the warnings.
r? @QuietMisdreavusFile tree
4 files changed
+296
-153
lines changed- src
- librustdoc/passes
- test
- rustdoc-ui
- rustdoc
4 files changed
+296
-153
lines changed
0 commit comments