Open
Description
Let's say you have crates A, B, and C, where:
- Crate A has a struct named
AType
. - Crate B depends on crate A, and has a struct named
BType
that has docs that link to typeAType
in crate A. - Crate C depends on crate B, and has a struct named
CType
that re-exportsB::BType
with#[doc(inline)]
.
In the docs for crate C, the link to AType
in the inlined documentation for BType
is broken.
For a more concrete example, the crate aws-sdk-s3
re-exports aws_smithy_http::byte_stream::Bytestream
, which has a link to futures_core::Stream
in its docs. This results in the inlined docs for Bytestream
having a broken link to Stream
, which can be observed in these docs (where it says "Via impl Stream").
Meta
Observed this with stable rustdoc 1.56.1 and rustdoc 1.61.0-nightly (4b043fa 2022-02-24).