Rustdoc doesn't use re-exported type aliases in function signatures #80557
Labels
A-cross-crate-reexports
Area: Documentation that has been re-exported from a different crate
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
The
glsp
crate publicly re-exports everything from theglsp_engine
crate:The root of the
glsp_engine
crate defines a type alias,GResult
. (This type alias is actually re-exported from a private module within theglsp_engine
crate, but if I replace it with an inline definition, the bug doesn't change.)When documenting the
glsp_engine
crate directly, Rustdoc will correctly document functions with aGResult
return value.However, when those functions are re-exported by the
glsp
crate, although the type alias itself is defined, the type alias is missing from function signatures.The text was updated successfully, but these errors were encountered: