Skip to content

Don't ICE when encountering never in range pattern - #134103

Merged
bors merged 1 commit into
rust-lang:masterfrom
compiler-errors:never-pat-range
Dec 11, 2024
Merged

Don't ICE when encountering never in range pattern#134103
bors merged 1 commit into
rust-lang:masterfrom
compiler-errors:never-pat-range

Conversation

@compiler-errors

Copy link
Copy Markdown
Contributor

Fixes#133947

r? oli-obk

@compiler-errorscompiler-errors changed the title Don't ICE when encountering never in patternDon't ICE when encountering never in range patternDec 10, 2024
@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 10, 2024
@oli-obk

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Dec 10, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit 6e2e9f6 has been approved by oli-obk

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 10, 2024
fmease added a commit to fmease/rust that referenced this pull request Dec 10, 2024
…=oli-obk
Don't ICE when encountering never in range pattern
Fixesrust-lang#133947
r? oli-obk
@fmeasefmease mentioned this pull request Dec 10, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 10, 2024
Rollup of 9 pull requests
Successful merges:
- rust-lang#134042 (Add the `power8-crypto` target feature)
- rust-lang#134070 (Some asm! diagnostic adjustments and a papercut fix)
- rust-lang#134094 (Tweak wording of non-const traits used as const bounds)
- rust-lang#134100 (Remove rustc_const_stable attribute on const NOOP)
- rust-lang#134103 (Don't ICE when encountering never in range pattern)
- rust-lang#134113 (run-make: Fix `assert_stderr_not_contains_regex`)
- rust-lang#134115 (rustc_target: ppc64 target string fixes for LLVM 20)
- rust-lang#134116 (stabilize const_nonnull_new)
- rust-lang#134120 (Remove Felix from ping groups and review rotation)
r? `@ghost`
`@rustbot` modify labels: rollup
@fmeasefmease mentioned this pull request Dec 10, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 10, 2024
Rollup of 9 pull requests
Successful merges:
- rust-lang#133583 (Fix type (exit → exist))
- rust-lang#134042 (Add the `power8-crypto` target feature)
- rust-lang#134094 (Tweak wording of non-const traits used as const bounds)
- rust-lang#134100 (Remove rustc_const_stable attribute on const NOOP)
- rust-lang#134103 (Don't ICE when encountering never in range pattern)
- rust-lang#134113 (run-make: Fix `assert_stderr_not_contains_regex`)
- rust-lang#134115 (rustc_target: ppc64 target string fixes for LLVM 20)
- rust-lang#134116 (stabilize const_nonnull_new)
- rust-lang#134120 (Remove Felix from ping groups and review rotation)
r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 11, 2024
Rollup of 9 pull requests
Successful merges:
- rust-lang#133583 (Fix type (exit → exist))
- rust-lang#134042 (Add the `power8-crypto` target feature)
- rust-lang#134094 (Tweak wording of non-const traits used as const bounds)
- rust-lang#134100 (Remove rustc_const_stable attribute on const NOOP)
- rust-lang#134103 (Don't ICE when encountering never in range pattern)
- rust-lang#134113 (run-make: Fix `assert_stderr_not_contains_regex`)
- rust-lang#134115 (rustc_target: ppc64 target string fixes for LLVM 20)
- rust-lang#134116 (stabilize const_nonnull_new)
- rust-lang#134120 (Remove Felix from ping groups and review rotation)
r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 11, 2024
Rollup of 9 pull requests
Successful merges:
- rust-lang#133583 (Fix type (exit → exist))
- rust-lang#134042 (Add the `power8-crypto` target feature)
- rust-lang#134094 (Tweak wording of non-const traits used as const bounds)
- rust-lang#134100 (Remove rustc_const_stable attribute on const NOOP)
- rust-lang#134103 (Don't ICE when encountering never in range pattern)
- rust-lang#134113 (run-make: Fix `assert_stderr_not_contains_regex`)
- rust-lang#134115 (rustc_target: ppc64 target string fixes for LLVM 20)
- rust-lang#134116 (stabilize const_nonnull_new)
- rust-lang#134120 (Remove Felix from ping groups and review rotation)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit c5a8386 into rust-lang:masterDec 11, 2024
@rustbotrustbot added this to the 1.85.0 milestone Dec 11, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Dec 11, 2024
Rollup merge of rust-lang#134103 - compiler-errors:never-pat-range, r=oli-obk
Don't ICE when encountering never in range pattern
Fixesrust-lang#133947
r? oli-obk
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ICE: entered unreachable code: no sub-expr expected for Pat

4 participants

@compiler-errors@oli-obk@bors@rustbot