On Wed, Oct 29, 2025 at 8:15 AM Miguel Ojeda ojeda@kernel.org wrote:
The future move of pin-init to `syn` uncovers the following private intra-doc link:
error: public documentation for `Devres` links to private item `Self::inner` --> rust/kernel/devres.rs:106:7 | 106 | /// [`Self::inner`] is guaranteed to be initialized and is always accessed read-only. | ^^^^^^^^^^^ this item is private | = note: this link will resolve properly if you pass `--document-private-items` = note: `-D rustdoc::private-intra-doc-links` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(rustdoc::private_intra_doc_links)]`Currently, when rendered, the link points to "nowhere" (an inexistent anchor for a "method").
Thus fix it.
Cc: stable@vger.kernel.org Fixes: f5d3ef25d238 ("rust: devres: get rid of Devres' inner Arc") Signed-off-by: Miguel Ojeda ojeda@kernel.org
Applied to `rust-fixes` -- thanks!
Cheers, Miguel