Re: [PATCH v5 00/20] rust: I/O type generalization and projection

Miguel Ojeda <[email protected]>
Newsgroups org.kernel.vger.linux-pwm,dev.linux.lists.driver-core,dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci,org.kernel.vger.rust-for-linux
Message-ID <CANiq72==81FEfMxTnUCdrFBtj9fnCnhF6jXgx_eqE-VsLgW9Rw@mail.gmail.com>
On Mon, Jun 29, 2026 at 4:15 PM Gary Guo <[email protected]> wrote:
>
> Hmm, this looks like a false positive introduced in new version of rustdoc.
> I didn't get this with rustdoc 1.85, but do get it in latest rustc, however the
> generated link is correct despite the warning.
>
> This pattern is used by other code, I'm unsure why it doesn't trigger there.
> Anyhow, the following diff seems to be able to work around the issue.

It seems to me that the issue is this line at the end:

  /// [`include/linux/iosys-map.h`](srctree/include/linux/iosys-map.h)

should have been:

  /// [`include/linux/iosys-map.h`]: srctree/include/linux/iosys-map.h

i.e. not a false positive.

Or do you mean something else?

Cheers,
Miguel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.