-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Always make progress on FnOnce
ClosureKind
goals in the old solver
#118114
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
Always make progress on FnOnce
ClosureKind
goals in the old solver
#118114
Conversation
@bors try @rust-timer queue |
r? @jackh726 (rustbot has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
… r=<try> Always make progress on `FnOnce` `ClosureKind` goals in the old solver All closures always implement `FnOnce`. IDK if this is worthwhile, but it does mean goals get flushed sooner.
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Do these predicates ever result in the |
Finished benchmarking commit (cfc4c29): comparison URL. Overall result: ✅ improvements - 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)This benchmark run did not return any relevant results for this metric. 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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 677.57s -> 677.207s (-0.05%) |
No, they never have side-effects. We could move the check sooner if we wanted to. However, this PR is somewhat superseded by #118120, which takes a somewhat opposite angle by just outright removing the |
Well, #118120 is not a regression, so this PR can be superseded. |
All closures always implement
FnOnce
. IDK if this is worthwhile, but it does mean goals get flushed sooner.