Repository navigation
Skip fulfillment when normalization produces no obligations - #165847
Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
… r=<try> Skip fulfillment when normalization produces no obligations
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (c27d81c): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @bors rollup=iffy rustc-perf Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 2.7%, secondary 1.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 484.606s -> 486.397s (0.37%) |
|
The perf run shows up to -0.89% instructions on the |
|
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor |
There was a problem hiding this comment.
|
@rustbot author |
530f53e to
120e65c
Compare
|
@bors r=lcnr |
…ulfillment, r=lcnr Skip fulfillment when normalization produces no obligations In the next solver, normalization always builds and evaluates a new `FulfillmentCtxt` afterwards, even when it produced no obligations. This PR returns early in that case. r? lcnr
|
Auto build was cancelled. Cancelled workflows: The next pull request likely to be tested is #166528. |
|
This pull request was unapproved due to being closed. This PR was contained in a rollup (#166528), which was closed. |
…uwer Rollup of 14 pull requests Successful merges: - #165847 (Skip fulfillment when normalization produces no obligations) - #166147 (Lower to `hir::Param`s for required trait functions) - #166414 (rustdoc: Use source snippet to render `include_*` literals) - #166497 (Integrate doc comment target checking on parameters & where bounds) - #166500 (Fix float zero patterns after a failed guard) - #165791 (Sync tier 3 addition policy with Forge) - #166400 (Revert "stabilize {Arc,Rc}::is_unique") - #166417 (Correctly specify that the head cannot be >= capacity) - #166448 (triagebot: Send "in progress" message when nomination is in progress) - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout) - #166498 (Update the Platform Support page for the *-espidf targets) - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results) - #166511 (Documentation: clarify Termination::report doc) - #166514 (coroutine: unify the word choice)
|
Whoops accidentally did "close with comment" rather than "comment" |
|
@bors r=lcnr |
|
@bors r=lcnr force |
…ulfillment, r=lcnr Skip fulfillment when normalization produces no obligations In the next solver, normalization always builds and evaluates a new `FulfillmentCtxt` afterwards, even when it produced no obligations. This PR returns early in that case. r? lcnr
…uwer Rollup of 15 pull requests Successful merges: - #166429 (1.100.1 relnotes) - #165847 (Skip fulfillment when normalization produces no obligations) - #166147 (Lower to `hir::Param`s for required trait functions) - #166414 (rustdoc: Use source snippet to render `include_*` literals) - #166497 (Integrate doc comment target checking on parameters & where bounds) - #166500 (Fix float zero patterns after a failed guard) - #165791 (Sync tier 3 addition policy with Forge) - #166400 (Revert "stabilize {Arc,Rc}::is_unique") - #166417 (Correctly specify that the head cannot be >= capacity) - #166448 (triagebot: Send "in progress" message when nomination is in progress) - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout) - #166498 (Update the Platform Support page for the *-espidf targets) - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results) - #166511 (Documentation: clarify Termination::report doc) - #166514 (coroutine: unify the word choice)
…uwer Rollup of 15 pull requests Successful merges: - #166429 (1.100.1 relnotes) - #165847 (Skip fulfillment when normalization produces no obligations) - #166147 (Lower to `hir::Param`s for required trait functions) - #166414 (rustdoc: Use source snippet to render `include_*` literals) - #166497 (Integrate doc comment target checking on parameters & where bounds) - #166500 (Fix float zero patterns after a failed guard) - #165791 (Sync tier 3 addition policy with Forge) - #166400 (Revert "stabilize {Arc,Rc}::is_unique") - #166417 (Correctly specify that the head cannot be >= capacity) - #166448 (triagebot: Send "in progress" message when nomination is in progress) - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout) - #166498 (Update the Platform Support page for the *-espidf targets) - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results) - #166511 (Documentation: clarify Termination::report doc) - #166514 (coroutine: unify the word choice)
|
⌛ Testing commit 120e65c with merge 6461011... Workflow: https://github.com/rust-lang/rust/actions/runs/45499377634 |
… r=lcnr Skip fulfillment when normalization produces no obligations In the next solver, normalization always builds and evaluates a new `FulfillmentCtxt` afterwards, even when it produced no obligations. This PR returns early in that case. r? lcnr
|
@bors yield (to enclosing rollup) |
|
Auto build was cancelled. Cancelled workflows: The next pull request likely to be tested is #166532. |
Rollup of 15 pull requests Successful merges: - #165847 (Skip fulfillment when normalization produces no obligations) - #166147 (Lower to `hir::Param`s for required trait functions) - #166414 (rustdoc: Use source snippet to render `include_*` literals) - #166497 (Integrate doc comment target checking on parameters & where bounds) - #166500 (Fix float zero patterns after a failed guard) - #165791 (Sync tier 3 addition policy with Forge) - #166417 (Correctly specify that the head cannot be >= capacity) - #166429 (1.100.1 relnotes) - #166448 (triagebot: Send "in progress" message when nomination is in progress) - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout) - #166498 (Update the Platform Support page for the *-espidf targets) - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results) - #166511 (Documentation: clarify Termination::report doc) - #166514 (coroutine: unify the word choice) - #166521 (Not-so-pointless change to hashbrown subtree)
Rollup merge of #165847 - TaKO8Ki:skip-empty-normalization-fulfillment, r=lcnr Skip fulfillment when normalization produces no obligations In the next solver, normalization always builds and evaluates a new `FulfillmentCtxt` afterwards, even when it produced no obligations. This PR returns early in that case. r? lcnr
Rollup of 15 pull requests Successful merges: - rust-lang/rust#165847 (Skip fulfillment when normalization produces no obligations) - rust-lang/rust#166147 (Lower to `hir::Param`s for required trait functions) - rust-lang/rust#166414 (rustdoc: Use source snippet to render `include_*` literals) - rust-lang/rust#166497 (Integrate doc comment target checking on parameters & where bounds) - rust-lang/rust#166500 (Fix float zero patterns after a failed guard) - rust-lang/rust#165791 (Sync tier 3 addition policy with Forge) - rust-lang/rust#166417 (Correctly specify that the head cannot be >= capacity) - rust-lang/rust#166429 (1.100.1 relnotes) - rust-lang/rust#166448 (triagebot: Send "in progress" message when nomination is in progress) - rust-lang/rust#166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout) - rust-lang/rust#166498 (Update the Platform Support page for the *-espidf targets) - rust-lang/rust#166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results) - rust-lang/rust#166511 (Documentation: clarify Termination::report doc) - rust-lang/rust#166514 (coroutine: unify the word choice) - rust-lang/rust#166521 (Not-so-pointless change to hashbrown subtree)
View all comments
In the next solver, normalization always builds and evaluates a new
FulfillmentCtxtafterwards, even when it produced no obligations. This PR returns early in that case.r? lcnr