Skip to content

[rustdoc] ALIASES[crate] is undefined #73620

Closed
@tesuji

Description

@tesuji

I loaded the std doc at https://doc.rust-lang.org/nightly/std/index.html in Firefox 77.0.1,
then I typed fast for the word "true" (or click this link: https://doc.rust-lang.org/nightly/std/index.html?search=true).

I expected to see this happen: The search result appears and includes the "true" keyword link.

Instead, this happened: No search result was shown.
Also in the Firefox console, this was printed after typing the word "true":

TypeError: ALIASES[crate] is undefined 3 main1.46.0.js:formatted:869
    handleAliases main1.46.0.js:869
    execQuery main1.46.0.js:1110
    execSearch main1.46.0.js:1407
    search main1.46.0.js:1457

Meta

Version of std docs: 1.46.0-nightly (a8cf399 2020-06-21)

cc @jyn514 in case you interest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions