Skip to content

Commit

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

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
Mark-Simulacrum authored Mar 14, 2019
2 parents b656841 + 3bb2275 commit 2d2a3f2
Show file tree
Hide file tree
Showing 4 changed files with 296 additions and 153 deletions.
Loading

0 comments on commit 2d2a3f2

Please sign in to comment.