Skip to content

Commit

Permalink
Auto merge of rust-lang#58824 - euclio:intra-link-ambiguity, r=petroc…
Browse files Browse the repository at this point in the history
…henkov

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? @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.