Skip to content

Add const_param_ty_unchecked gate#153536

Open
zedddie wants to merge 1 commit intorust-lang:mainfrom
zedddie:const-param-ty-unchecked-gate
Open

Add const_param_ty_unchecked gate#153536
zedddie wants to merge 1 commit intorust-lang:mainfrom
zedddie:const-param-ty-unchecked-gate

Conversation

@zedddie
Copy link
Contributor

@zedddie zedddie commented Mar 7, 2026

Add const_param_ty_unchecked internal feature gate to skip ConstParamTy_ trait enforcement on type. Provides an escape hatch for writing tests and examples that use const generics without needing to ensure all fields implement ConstParamTy_.

r? BoxyUwU

@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 Mar 7, 2026
@rustbot
Copy link
Collaborator

rustbot commented Mar 7, 2026

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants