rustdoc: use Type::def_id() instead of Type::def_id_no_primitives()#90385
rustdoc: use Type::def_id() instead of Type::def_id_no_primitives()#90385bors merged 2 commits intorust-lang:masterfrom
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 <falakreyaz@gmail.com>
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