Open dhardy opened 9 months ago
Given crates a:
a
/// (doc in a) pub fn foo() {}
b:
b
/// (doc in b) #[doc(inline)] pub use a::foo;
and c:
c
/// (doc in master crate) #[doc(inline)] pub use b::foo;
The resulting rustdoc output for c omits documentation added in b: I would expect the docs from all crates to be included.
inline-doc-reexport.zip
@rustbot label +A-cross-crate-reexports +T-rustdoc
This also applies to re-exports via
#[doc(inline)] pub extern crate b;
Given crates
a
:b
:and
c
:The resulting rustdoc output for
c
omits documentation added inb
: I would expect the docs from all crates to be included.Source for reproduction
inline-doc-reexport.zip
Related
84619
89020
@rustbot label +A-cross-crate-reexports +T-rustdoc