Skip to content

Search is not showing core items #139522

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

Open
GuillaumeGomez opened this issue Apr 8, 2025 · 5 comments
Open

Search is not showing core items #139522

GuillaumeGomez opened this issue Apr 8, 2025 · 5 comments
Labels
A-rustdoc-search Area: Rustdoc's search feature T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Comments

@GuillaumeGomez
Copy link
Member

For example:

Image

Although it shows from_u8. Anyway, seems like something is going wrong there.

cc @notriddle

@GuillaumeGomez GuillaumeGomez added A-rustdoc-search Area: Rustdoc's search feature T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 8, 2025
@rustbot rustbot added T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Apr 8, 2025
@GuillaumeGomez GuillaumeGomez removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Apr 8, 2025
@notriddle
Copy link
Contributor

Isn’t that #119912?

@GuillaumeGomez
Copy link
Member Author

Hum... That's actually problematic I think. Especially when looking for core items. Not sure how to solve this issue though.

@theemathas
Copy link
Contributor

You can select the drop down to change "all crates" to "core".

@GuillaumeGomez
Copy link
Member Author

Yeah but that remains misleading. Why would a user think about filtering crate if they want to ensure an std item is actually a core one? The search results would allow it.

@lolbinarycat
Copy link
Contributor

I've brought this up before I believe, but I am of the opinion that rustdoc should list all paths an item is available at.

This would help both for things like std/core, but also for inlined type reexports like reqwest::Url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustdoc-search Area: Rustdoc's search feature T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Projects
None yet
Development

No branches or pull requests

5 participants