Skip to content

rustdoc: Masked functions still appear in the search result. #44740

Closed
@kennytm

Description

@kennytm

Repro:

  1. Go to nightly docs
  2. Search for "aborting" (or just go to https://doc.rust-lang.org/nightly/std/?search=aborting)
  3. Note that the functions aborting_div and aborting_rem appeared.
  4. Clicking into the result will not jump to any functions.

Expected: aborting_div and aborting_rem should not appear in the search result.

The aborting_div and aborting_rem methods are part of the Int trait in compiler_builtins which is not supposed to be exposed. The documentation about this trait is successfully hidden thanks to #44026, but the search entry still exists.

cc @QuietMisdreavus

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions