Skip to content

Add crash test for const param ty unchecked - #166237

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
bit-aloo:2026-11-18-gca-fn-ptr-assoc-const-binding-ice
Nov 20, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
bit-aloo:2026-11-18-gca-fn-ptr-assoc-const-binding-ice

Conversation

@bit-aloo

Copy link
Copy Markdown
Member

Part of #166128.

const_param_ty_unchecked is an internal feature that allows otherwise unsupported const parameter types, which can lead to ICEs. So we're keeping this as a crash test for now.

r? @khyperia

@rustbot

rustbot commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

This PR changes a file inside tests/crashes. If a crash was fixed, please move into the corresponding ui subdir and add 'Fixes #' to the PR description to autoclose the issue upon merge.

@rustbot rustbot 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 Nov 20, 2026
@rustbot

rustbot commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

khyperia is currently at their maximum review capacity.
They may take a while to respond.

@khyperia

Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-bors

rust-bors Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 88fc66e has been approved by khyperia

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Nov 20, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 20, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - #165814 (diag: Fix source location for macro diagnostic message)
 - #166091 (Abby: make the fields of `And/Or` private)
 - #166150 (Reflection: refactor Type and TypeKind)
 - #166213 (remove optionally_braced_mac_call)
 - #166233 (Allow `#[derive(StableHash)]` for enums with >256 variants)
 - #166237 (Add crash test for const param ty unchecked)
rust-bors Bot pushed a commit that referenced this pull request Nov 20, 2026
Rollup merge of #166237 - bit-aloo:2026-11-18-gca-fn-ptr-assoc-const-binding-ice, r=khyperia

Add crash test for const param ty unchecked

Part of #166128.

const_param_ty_unchecked is an internal feature that allows otherwise unsupported const parameter types, which can lead to ICEs. So we're keeping this as a crash test for now.

r? @khyperia
@rust-bors
rust-bors Bot merged commit 0814ed4 into rust-lang:main Nov 20, 2026
14 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 20, 2026
@bit-aloo
bit-aloo deleted the 2026-11-18-gca-fn-ptr-assoc-const-binding-ice branch November 20, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant 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.

3 participants