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
Track derive
attrs for more accurate suggestion
#98965
Conversation
r? @wesleywiser (rust-highfive has picked a reviewer for you, use r? to override) |
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 867d666 with merge a04efadf063b0b15950cb94e70984666c444fa0a... |
☀️ Try build successful - checks-actions |
Queued a04efadf063b0b15950cb94e70984666c444fa0a with parent 7b46aa5, future comparison URL. |
Finished benchmarking commit (a04efadf063b0b15950cb94e70984666c444fa0a): 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 |
@petrochenkov I was looking at alternatives to address #98822. Because we remove the |
FWIW, I think it may not be a bug worth fixing -- adding the extra context may almost be more confusing in my eyes than showing the derive standalone (e.g., leading to a conclusion that the extra bits are needed). It seems like more of a stylistic lint to keep all derives in the same block, maybe best for Clippy or rustfmt to do that re-arranging. It probably adds to the confusion though that we're emitting a "code block" in the lint help text, rather than just saying to annotate with derive(Debug) without additional context. If that included the |
If this approach isn't worth it, I'm closing this PR. We can look for alternative approaches (but I'm uncertain we'll find a better approach). |
No description provided.