Rustdoc doesn't show re-exports randomly

f85eaaa
Opened by Binero at 2022-10-24 15:53:31

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:

  • amethyst_core::transform::TransformBundle
  • amethyst_core::TransformBundle
  • amethyst::core::TransformBundle
  • amethsyt::core::transform::TransformBundle
  • amethsyt::core::transform::bundle::TransformBundle

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.

  1. 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.

    Alice Cecile at 2022-10-24 15:53:31