-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
make compare_const_impl
a query and use it in instance.rs
#98496
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit e616802befd6814f6a9c41d87f271e61aaf53da5 with merge f99589b0312bfdb02699eab496c80e3446034f1a... |
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #98584) made this pull request unmergeable. Please resolve the merge conflicts. |
04f88ab
to
831f440
Compare
Seems like none of the repro's for this PR ice anymore on master... I am not sure what PR changed this but I can only assume it was by accident since |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 611db1d with merge 7b04892a1d61b0d2c6f2826177df092d7ae02bca... |
☀️ Try build successful - checks-actions |
Queued 7b04892a1d61b0d2c6f2826177df092d7ae02bca with parent 56a35bc, future comparison URL. |
Finished benchmarking commit (7b04892a1d61b0d2c6f2826177df092d7ae02bca): comparison URL. Overall result: no relevant changes - no action neededBenchmarking 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 Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Footnotes |
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.
small nits, then r=me
@bors r+ |
@bors rollup |
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#98496 (make `compare_const_impl` a query and use it in `instance.rs`) - rust-lang#102680 (Fix overconstrained Send impls in btree internals) - rust-lang#102718 (Fix `opaque_hidden_inferred_bound` lint ICE) - rust-lang#102725 (Remove `-Ztime`) - rust-lang#102736 (Migrate search input color to CSS variable) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #88365
the bug in #88365 was caused by some
instance.rs
code using thePartialEq
impl onTy
to check that the type of the associated const in an impl is the same as the type of the associated const in the trait definition. This was wrong for two reasons:mismatched_impl_ty_2.rs
which was ICEing before this PR on stable)PartialEq
impl will reflect that which isnt true for higher ranked types or type level constants whenfeature(generic_const_exprs)
is enabled (seemismatched_impl_ty_3.rs
for higher ranked types which was ICEing on stable)r? @lcnr