-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Introduce tcx.get_diagnostic_name
#89534
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
Conversation
Nice! Two (not really important things):
But these don't need to happen, let's get this rolling first and update clippy and stuff. @bors r+ |
📌 Commit 76dc8699a5446753b21873b938f696ecd6571bc7 has been approved by |
@bors r- |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 76dc8699a5446753b21873b938f696ecd6571bc7 with merge c6f2cb4408076901a5429245f87b314372eed6fc... |
I think
I didn't do this because we only observe the |
@bors ping |
😪 I'm awake I'm awake |
@rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
@bors try |
⌛ Trying commit 76dc8699a5446753b21873b938f696ecd6571bc7 with merge 65a46a09ff197696229f1abbd888ff7fbee2b777... |
☀️ Try build successful - checks-actions |
Queued 65a46a09ff197696229f1abbd888ff7fbee2b777 with parent 55111d6, future comparison URL. |
Finished benchmarking commit (65a46a09ff197696229f1abbd888ff7fbee2b777): comparison url. Summary: This change led to moderate relevant mixed results 🤷 in compiler performance.
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 led 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 |
⌛ Trying commit b6cab80 with merge f108b6525490526153b5efa677b3ecfc9ac2ea71... |
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit a8d8bfd with merge 7633f3a38960dc501c2a2111fd8496abd90553ff... |
☀️ Try build successful - checks-actions |
Queued 7633f3a38960dc501c2a2111fd8496abd90553ff with parent d7539a6, future comparison URL. |
Finished benchmarking commit (7633f3a38960dc501c2a2111fd8496abd90553ff): comparison url. Summary: This change led to large relevant improvements 🎉 in compiler performance.
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 led to changes in compiler perf. @bors rollup=never |
My first compiler perf improvement! |
Very nice! @bors r+ |
📌 Commit a8d8bfd has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (0157cc9): comparison url. Summary: This change led to large relevant mixed results 🤷 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression |
Introduces a "reverse lookup" for diagnostic items. This is mainly intended for @rust-lang/clippy which often does a long series of
is_diagnostic_item
calls for the sameDefId
.r? @oli-obk