-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic
, env
, and vec
macros missing from std API doc search results
#51095
Comments
Looks like this was caused by #50259. We need to take into account the type when de-duplicating results not just the full path. cc. @GuillaumeGomez |
Oh indeed, I just fixed this issue for keywords so I'll fix it as well for macros. |
bors
added a commit
that referenced
this issue
Jun 29, 2018
…meGomez Fix macro missing from doc search Fixes #51095. r? @QuietMisdreavus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On stable (1.26.0), if I open the standard library API docs in my browser and search for one of the three strings
panic
,env
, orvec
, the search results include both the module and the macro by that name. Note that the module and the macro have the same path (std::panic
, etc.).On nightly 2018-05-25, those three macros no longer appear in search results, though their corresponding modules do. The macros still show up in the
std
crate index's macro list (std/index.html#macros
). Since the macros and the modules have matching paths, it sounds like the macros are being shadowed somehow.The text was updated successfully, but these errors were encountered: