Commit 1661e4c
committed
Auto merge of rust-lang#93805 - petrochenkov:doclinkself, r=camelid,GuillaumeGomez
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 rust-lang#83761.File tree
2 files changed
+134
-91
lines changed- src
- librustdoc/passes
- test/rustdoc/intra-doc
2 files changed
+134
-91
lines changed
0 commit comments