Skip to content

rustdoc with a ?search=foo URL, stuck at "Loading search results..." #50283

Closed
@SimonSapin

Description

@SimonSapin

Steps:

ReferenceError: ALIASES is not defined[Learn More] main.js:1016:1
	execQuery http://localhost/rust/main.js:1016:1
	execSearch http://localhost/rust/main.js:1319:31
	search http://localhost/rust/main.js:1404:25
	startSearch http://localhost/rust/main.js:1548:13
	initSearch http://localhost/rust/main.js:1552:9
	<anonymous> http://localhost/rust/search-index.js:8:1

Grepping shows that ALIASES is defined in aliases.js. This file is included with <script defer src="../aliases.js">. This defer is presumably problematic for the search-during-initial-load case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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