-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Perform coherence checking per impl. #98221
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit aa9f4b6b3a12366b2aedb2cdb0355f2c55ddbf8b with merge d5f00052a2d1e4fac321aaf259b637698d417f23... |
☀️ Try build successful - checks-actions |
Queued d5f00052a2d1e4fac321aaf259b637698d417f23 with parent ff86b27, future comparison URL. |
Finished benchmarking commit (d5f00052a2d1e4fac321aaf259b637698d417f23): 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. @bors rollup=never Footnotes |
) -> Result<(), ErrorGuaranteed> { | ||
let trait_ref = tcx.impl_trait_ref(impl_def_id).unwrap(); | ||
if trait_ref.references_error() { | ||
return Ok(()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can return Err(ErrorGuaranteed)
here, as i think we also want to silence any future errors if the trait ref is invalid
if trait_ref.references_error() { | ||
return; | ||
} | ||
fn lint_auto_trait_impls<'tcx>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fn lint_auto_trait_impls<'tcx>( | |
fn lint_auto_trait_impl<'tcx>( |
r? @lcnr |
@bors r+ |
📌 Commit 9388824 has been approved by |
🌲 The tree is currently closed for pull requests below priority 1000. This pull request will be tested once the tree is reopened. |
☀️ Test successful - checks-actions |
Finished benchmarking commit (7702ae1): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
r? @ghost