Trim GoalStalledOn::Certainty - #160886
Conversation
|
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor |
7c7cbc5 to
9d667f0
Compare
This comment has been minimized.
This comment has been minimized.
|
This now removed a check on the ultra-hot fast path in @bors try @rust-timer queue |
|
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
This comment has been minimized.
This comment has been minimized.
… r=<try> Trim `GoalStalledOn::Certainty`
|
Queued 13539ad with parent f76a50b, future comparison URL. |
|
For some reason the perf result comment wasn't posted, so here it is: comparison URL. Basically perf-neutral, so: @bors rollup @lcnr: ready for r+? |
This comment has been minimized.
This comment has been minimized.
It's always `Certainty::Maybe`, so we can trim it down to just the `MaybeInfo` that is within `Certainty::Maybe`. And then the same change can be made to the field of `RerunStalled::WontMakeProgress`, and `goal_remains_stalled` can return a bool, and a hot `matches!` in `try_evaluate_obligations` that never failed can be removed.
9d667f0 to
7fe7add
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
I rebased. |
|
@bors r+ rollup |
…uwer Rollup of 6 pull requests Successful merges: - #160966 (bootstrap: Avoid some unnecessary imports from the crate root) - #159987 (trait solver: Track canonical response universe assumptions) - #160886 (Trim `GoalStalledOn::Certainty`) - #160925 (Add `TypeId::is_signed` method) - #160926 (sve: add addl. passing test for field projection) - #160977 (Remove `MutatingUseContext::Retag`)
It's always
Certainty::Maybe, so we can trim it down to just theMaybeInfothat is withinCertainty::Maybe.r? @lcnr