Skip to content

Source viewer sometimes links to empty_library in file tree #1453

Closed
@cdmistman

Description

@cdmistman

In some crates, the file tree simply links to some empty crate called empty_library which contains a single file, lib.rs. Clicking on the file results in a 404

Most recent example I've found is in the source viewer for HashBrown (linking to map.rs, although accessing any source file through https://docs.rs/hashbrown/0.11.2 results in the bad source tree. This has happened for multiple crates (and I can add more links as I find them) but notably might only affect certain versions - for example, the source file tree works when looking at https://docs.rs/hashbrown/0.11.1

If this is a rustdoc issue and not docs.rs then I can close this issue and reopen in rust-lang/rust

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions