-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
fix recursion depth handling after confirmation #111754
Conversation
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit c5ec1b8 with merge cda0dbd5e6e7ae60b515cc1f6481418b9cc6953b... |
|
just to understand what we want to backport: this PR replaces #111736? |
That's my intent, yes |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (cda0dbd5e6e7ae60b515cc1f6481418b9cc6953b): comparison URL. Overall result: ❌ regressions - 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 is a highly reliable metric that was used to determine the overall result at the top of this comment.
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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 641.09s -> 642.114s (0.16%) |
alright @rustbot ready |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (cfcde24): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 643.016s -> 644.61s (0.25%) |
[beta] backport - Dont check `must_use` on nested `impl Future` from fn rust-lang#111491 - fix recursion depth handling after confirmation rust-lang#111754 r? cuviper
fixes #111729
I think having to use
Obligation::with_depth
correctly everywhere is very hard because e.g. the nested obligations fromeq
currently do not have the correct obligation depth.The new solver completely removes
recursion_depth
from obligations and instead tracks the depth in the solver itself which is far easier to get right. Moving the old solver towards this shouldn't be that hard but is probably somewhat annoying.r? @matthewjasper