Skip to content

Commit

Permalink
Auto merge of #77467 - jyn514:query-docs, r=oli-obk
Browse files Browse the repository at this point in the history
Normalize `<X as Y>::T` for rustdoc

- Only run for `QPath::Resolved` with `Some` self parameter (`<X as Y>::T`)
- Fall back to the previous behavior if the path can't be resolved

The first commit is a pure refactor and should probably be reviewed by `@GuillaumeGomez.` I recommend reviewing the second commit on its own.

Fixes #77459.

r? `@eddyb`
cc `@danielhenrymantilla` , `@lcnr`
  • Loading branch information
bors committed Nov 26, 2020
2 parents 0beba93 + 277bdbc commit 65ecc48
Show file tree
Hide file tree
Showing 4 changed files with 435 additions and 284 deletions.
Loading

0 comments on commit 65ecc48

Please sign in to comment.