-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Prefer suggestion paths that are not #[doc(hidden)]
#98876
Prefer suggestion paths that are not #[doc(hidden)]
#98876
Conversation
Co-authored-by: Alik Aslanyan <inline0@protonmail.com>
r? @wesleywiser (rust-highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 1b420a5 with merge d39a7f4152616d7b23d84acc0de1fecfc408585d... |
(cc @In-line, I can also close this if you'd rather author this PR yourself. Just doing a diagnostics-related issue triage and I saw that PR got closed, and I think it's worthwhile to land!) |
#[doc(hidden)]
I was planning to return to it, in some point. I don't care about who is author. If you have time to fix it, feel free to do it! |
☀️ Try build successful - checks-actions |
Queued d39a7f4152616d7b23d84acc0de1fecfc408585d with parent a5c6a48, future comparison URL. |
Hmm, if rustc is going to add this logic I wonder if it can be shared with the existing code in rust/src/librustdoc/visit_ast.rs Line 51 in e1d1848
|
Finished benchmarking commit (d39a7f4152616d7b23d84acc0de1fecfc408585d): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Footnotes |
@rustbot author |
…gillot Prefer visibility map parents that are not `doc(hidden)` first Far simpler approach to rust-lang#98876. This only fixes the case where the parent is `doc(hidden)`, not where the child is `doc(hidden)` since I don't know how to get the attrs on the import statement given a `ModChild`... I'll try to follow up with that, but this is a good first step.
…gillot Prefer visibility map parents that are not `doc(hidden)` first Far simpler approach to rust-lang#98876. This only fixes the case where the parent is `doc(hidden)`, not where the child is `doc(hidden)` since I don't know how to get the attrs on the import statement given a `ModChild`... I'll try to follow up with that, but this is a good first step.
This is a revival of #87349
Maybe we don't even need to make it this complicated? I guess I could also just insert children that have
doc_hidden
parents using the samefallback_map
I added a while back to filter outuse ... as _;
imports.