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

From: Miguel Ojeda

Date: Tue Jun 30 2026 - 09:11:15 EST


On Mon, Jun 29, 2026 at 4:15 PM Gary Guo <gary@xxxxxxxxxxx> 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