-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustdoc and reexported types #45373
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hey @DarkEld3r thank's for the report, can you provide a rust version please? |
I have used |
Yeah, I see. But I think it's a serde error. https://docs.serde.rs/src/serde/ser/mod.rs.html#107 Anyway, I don't know if it's a doc generation error. |
I'm also not sure if it is rustdoc bug: reexporting is specific case, but I prefer to create an issue to make sure if it is a problem or not. 😅 On the other hand, documentation works correctly for serde (https://docs.serde.rs/serde/trait.Serialize.html) itself, so it cannot (shouldn't) be fixed inside this crate. |
#43466 should fix issues like this. |
This is currently expected behaviour since |
Example (lib.rs):
In the generated documentation for the
reexport::SerError
type there is a reference to theserde::Serialize
, but this reference is broken (target/doc/reexport_test/trait.Serialize.html
instead oftarget/doc/reexport_test/reexport/trait.Serialize.html
).The text was updated successfully, but these errors were encountered: