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

From: Gary Guo

Date: Tue Jun 30 2026 - 09:14:23 EST


On Tue Jun 30, 2026 at 2:02 PM BST, Miguel Ojeda wrote:
> 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.

Oh you are right. I checked multiple times but didn't spot it.

Best,
Gary