-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Closed
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Description
Description
On any webpage generated by rustdoc
, using a number as a search term results in an error:
Query parser error: "Unexpected <N> (not a valid identifier)".
Where <N>
is the first digit of the number searched.


Expected Outcome
It should search.
Version
Rust: 1.92.0-nightly (57ef8d6 2025-10-15)
Browser: Firefox 145.0b1; Chrome 141.0.7390.107
alex-sc-kao, chenyukang, workingjubilee and GuillaumeGomez
Metadata
Metadata
Assignees
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.