-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self
does not work in intra-doc links for primitives
#75809
Comments
Marking as P-low since this only affects |
I think the issue is actually that rust/src/librustdoc/passes/collect_intra_doc_links.rs Lines 532 to 533 in f5d7848
|
Ugh, this rust/src/librustdoc/passes/collect_intra_doc_links.rs Lines 630 to 631 in f5d7848
rust/src/librustdoc/passes/collect_intra_doc_links.rs Lines 497 to 522 in f5d7848
|
There's also a secondary issue: |
Fixed in #76467. |
I tried this code in #75807:
I expected to see this happen:
Self::f
andusize::f
resolve to the same thing.Instead, this happened:
Self::f
gives a warning that it can't be resolved.Meta
rustdoc --version
:(but the problem is also present on master at time of writing)
The text was updated successfully, but these errors were encountered: