Commit 65ecc48
committed
Auto merge of #77467 - jyn514:query-docs, r=oli-obk
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`4 files changed
Lines changed: 435 additions & 284 deletions
File tree
- src
- librustdoc
- clean
- test/rustdoc
- auxiliary
0 commit comments