-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustdoc: use Type::def_id() instead of Type::def_id_no_primitives() #90385
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jyn514 (or someone else) soon. Please see the contribution instructions for more information. |
Thanks for working on this! Do you mind also removing the |
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #88268) made this pull request unmergeable. Please resolve the merge conflicts. |
This comment has been minimized.
This comment has been minimized.
Hmm, somehow this makes generics show up in search results (that's why the test is failing AFAICT). I don't think that's supposed to happen; otherwise searching for |
Indeed, for the search index, we don't want to keep generics as is. It can be fixed by turning the |
But why does switching to Also, using |
I'll test locally tomorrow to see what's going on because from what I can see, the code is perfectly valid. You have allowed to uncover a bug in rustdoc. (yeay! 🥳 🎉 ) |
Yayay .. I am noob and I only could stare at the code and now was reading more about rust if i was missing something trivial. |
You should be able to add a |
Signed-off-by: Muhammad Falak R Wani <[email protected]>
This comment has been minimized.
This comment has been minimized.
Sorry, I was focused on other things and completely forgot about this. Scheduling it for tomorrow. |
Since you adding Cache fields, should I wait and then update the PR. @camelid |
That work is blocked for now, so feel free to add the fields yourself if you can. |
Thanks! @bors: r+ |
📌 Commit 5cfc7ce has been approved by |
rustdoc: use Type::def_id() instead of Type::def_id_no_primitives() For: rust-lang#90187 r? `@jyn514`
⌛ Testing commit 5cfc7ce with merge d246517fab83720aea209818ae254f2a3e309ba8... |
💔 Test failed - checks-actions |
Spurious error. @bors: retry |
The job Click to see the possible cause of the failure (guessed by this bot)
|
@bors: retry |
@mfrw: 🔑 Insufficient privileges: not in try users |
I think CI is broken. cc @rust-lang/infra |
☀️ Test successful - checks-actions |
Finished benchmarking commit (b416e38): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
For: #90187
r? @jyn514