Skip to content

Commit

Permalink
Auto merge of #58824 - euclio:intra-link-ambiguity, r=petrochenkov
Browse files Browse the repository at this point in the history
overhaul intra-doc-link ambiguity warning

Fixes #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? @QuietMisdreavus
  • Loading branch information
bors committed Mar 18, 2019
2 parents 817d074 + 7c66ae2 commit 03dafa7
Show file tree
Hide file tree
Showing 4 changed files with 296 additions and 153 deletions.
Loading

0 comments on commit 03dafa7

Please sign in to comment.