rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
97.31k stars 12.58k forks source link

Rustdoc doesn't show re-exports randomly #45479

Open Binero opened 6 years ago

Binero commented 6 years ago

Some re-exports seem to not be shown in the rustc output. This is especially evident in the amethyst crate.

Examples:

amethyst_core::transform::bundle::TransformBundle is re-exported as:

Yet none of these show up in the generated documentation.

amethyst::State is re-exported as ametyst::prelude::State, and this does show in the generated documentation.

This might also be the cause of https://github.com/rust-lang-nursery/rls/issues/505.

alice-i-cecile commented 1 year ago

I can reproduce this at https://docs.rs/amethyst/0.13.0/amethyst/?search=transform. Unclear if the problem has been fixed though, and if this is only an issue because the docs were built with an old version of rustdoc.