Fix ICE for inherited const conditions on const closures#154874
Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom Apr 22, 2026
Merged
Conversation
Collaborator
|
rustbot has assigned @JonathanBrouwer. Use Why was this reviewer chosen?The reviewer was selected based on:
|
Contributor
|
r? types |
Contributor
|
r? oli-obk |
Collaborator
|
|
Contributor
|
@bors r+ rollup |
Contributor
oli-obk
approved these changes
Apr 21, 2026
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Apr 22, 2026
…ited-conditions, r=oli-obk Fix ICE for inherited const conditions on const closures Synchronize `evaluate_host_effect_for_fn_goal` with the behavior of `extract_fn_def_from_const_callable` in new solver. Closes rust-lang#153861 .
This was referenced Apr 22, 2026
rust-bors Bot
pushed a commit
that referenced
this pull request
Apr 22, 2026
Rollup of 7 pull requests Successful merges: - #155589 (Forbid `check-pass`/`build-pass`/`run-pass` directives in incremental tests) - #155610 (Add missing `dyn` keyword to `trait_alias` page of the Unstable Book) - #155615 (test cleanups for `ui/derives` and `ui/deriving`) - #154874 (Fix ICE for inherited const conditions on const closures) - #155605 (std: Update support for `wasm32-wasip3`) - #155613 (c-variadic: tweak `std` docs) - #155619 (Remove a bunch of unnecessary explicit lifetimes from the ast validator)
github-actions Bot
pushed a commit
to rust-lang/rustc-dev-guide
that referenced
this pull request
Apr 22, 2026
Rollup of 7 pull requests Successful merges: - rust-lang/rust#155589 (Forbid `check-pass`/`build-pass`/`run-pass` directives in incremental tests) - rust-lang/rust#155610 (Add missing `dyn` keyword to `trait_alias` page of the Unstable Book) - rust-lang/rust#155615 (test cleanups for `ui/derives` and `ui/deriving`) - rust-lang/rust#154874 (Fix ICE for inherited const conditions on const closures) - rust-lang/rust#155605 (std: Update support for `wasm32-wasip3`) - rust-lang/rust#155613 (c-variadic: tweak `std` docs) - rust-lang/rust#155619 (Remove a bunch of unnecessary explicit lifetimes from the ast validator)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Synchronize
evaluate_host_effect_for_fn_goalwith the behavior ofextract_fn_def_from_const_callablein new solver.Closes #153861 .