Skip to content

Commit

Permalink
Auto merge of #93805 - petrochenkov:doclinkself, r=camelid,GuillaumeG…
Browse files Browse the repository at this point in the history
…omez

rustdoc: Stop textually replacing `Self` in doc links before resolving them

Resolve it directly to a type / def-id instead.

Also never pass `Self` to `Resolver`, it is useless because it's guaranteed that no resolution will be found.

This is a pre-requisite for #83761.
  • Loading branch information
bors committed Mar 6, 2022
2 parents 0cbef1c + 25c5e39 commit 1661e4c
Show file tree
Hide file tree
Showing 2 changed files with 134 additions and 91 deletions.
Loading

0 comments on commit 1661e4c

Please sign in to comment.