Repository navigation
Description
The feature gate for this experimental feature is intra_doc_pointers.
Note
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports.
Instead, open a dedicated issue for the specific matter or post in the #t-rustdoc Zulip channel.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
Steps
- Implementation PR
- Stabilization PR
Implementation history
- FIXME: Find the PR that actually impls these
- Feature-gate
pointerandreferencein intra-doc links #81015
Historic notes
We may want to put other targets behind the feature gate too, but we at least
want to get pointer behind one before #80181 hits beta.
See the discussion on Zulip for more.
Activity
[-]rustdoc: Put `pointer` intra-doc target behind a feature gate[/-][+]rustdoc: tracking issue for `pointer` and `reference` in intra-doc links[/+]Auto merge of rust-lang#81015 - jyn514:feature-gate-ptr, r=camelid
jhpratt commentedon Feb 19, 2021
Getting an error on nightly from this that originates in stdlib.
Not sure if this needs special-casing, a feature gate added to
core, or just the removal of the link. But something certainly isn't correct.This is the line that the error traces to.
jhpratt commentedon Feb 19, 2021
cc @jyn514 see above. It looks like you're the one that gated this.
jhpratt commentedon Feb 19, 2021
Looks like this was noticed before I commented. The issue for it is #82284.
Nemo157 commentedon May 8, 2021
Given that #62834 allowed the applied type
Vec<T>to link to the type constructorVec, it feels like*const T/&Tand similar syntax should also be supported to link to the pages for the type constructorspointer/reference.camelid commentedon May 8, 2021
Perhaps, but I imagine that linking to
*const Tis not that common, and if it's not that common then it doesn't seem that bad to have people use[*const T](pointer).Auto merge of #14220 - lowr:fix/ci-pointer-offset-is-unstable, r=lnicola
[-]rustdoc: tracking issue for `pointer` and `reference` in intra-doc links[/-][+]rustdoc: Tracking issue for `pointer` and `reference` in intra-doc links[/+]Remove doc links to `pointer::as_mut`
Remove doc links to `pointer::as_mut`
Manually add doc links to `pointer::as_mut`
v1.2.1: docs.rs build fix; cover update_nongrav_coeffs error path