-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureT-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.
Description
Steps to reproduce:
Expected result:
All versions of panic (that are macros) appear.
Actual result:
Query parse error.
Compare vs stable: https://doc.rust-lang.org/stable/std/string/trait.ToString.html?search=panic!
I think this is just a matter of accepting !
in the eBNF grammar and also the JS-implemented parser.
Note that the results on stable include modules, which arguably they shouldn't. So as an additional feature improvement we might want to recognize !
specially and treat as requiring that the results be macros (or specifically function-like macros?).
Metadata
Metadata
Assignees
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureT-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.