-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
intra-rustdoc links fail for the pointer
primitive type
#87289
Comments
It looks like that match also doesn't include the Interestingly, the For example, on the same nightly version I posted above, this code
emits these errors:
(note that the |
I haven't read each example, but |
I'm going to close this because it's not a bug - feel free to reopen if you're still having trouble after removing |
When attempting to use intra-rustdoc links to link to
*const T
/*mut T
methods (thepointer
primitive type in the std docs), the link is not resolved properly.This minimal reproduction:
fails like this:
I noticed that PR #58642 fixed intra-doc links to methods on other primitive types, but the
match
added in that change doesn't includepointer
:https://github.com/tspiteri/rust/blob/aa0fa752c455eca11db012be76caa94b15804350/src/librustdoc/passes/collect_intra_doc_links.rs#L607-L625
Meta
This issue occurs on stable
rustdoc
:rustdoc --version --verbose
:...and on nightly:
rustdoc --version --verbose
:The text was updated successfully, but these errors were encountered: