Skip to content

panic, env, and vec macros missing from std API doc search results #51095

Closed
@ashtneoi

Description

@ashtneoi

On stable (1.26.0), if I open the standard library API docs in my browser and search for one of the three strings panic, env, or vec, the search results include both the module and the macro by that name. Note that the module and the macro have the same path (std::panic, etc.).

On nightly 2018-05-25, those three macros no longer appear in search results, though their corresponding modules do. The macros still show up in the std crate index's macro list (std/index.html#macros). Since the macros and the modules have matching paths, it sounds like the macros are being shadowed somehow.


$ rustc --version --verbose
rustc 1.28.0-nightly (990d8aa74 2018-05-25)
binary: rustc
commit-hash: 990d8aa743b1dda3cc0f68fe09524486261812c6
commit-date: 2018-05-25
host: x86_64-unknown-linux-gnu
release: 1.28.0-nightly
LLVM version: 6.0

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