Skip to content

Gate ConstParamTy_ trait behind const_param_ty_trait feature#153359

Open
zedddie wants to merge 1 commit intorust-lang:mainfrom
zedddie:const-param-ty-trait-gating
Open

Gate ConstParamTy_ trait behind const_param_ty_trait feature#153359
zedddie wants to merge 1 commit intorust-lang:mainfrom
zedddie:const-param-ty-trait-gating

Conversation

@zedddie
Copy link
Contributor

@zedddie zedddie commented Mar 3, 2026

Initially even when user wasn't using unsized const params, the only way to implement/name ConstParamTy_ was to use #![feature(unsized_const_params], now its gated under const_param_ty_trait feature, implied by unsized_const_params.

I've also changed use of unsized_const_params in tests which were using it only to implement ConstParamTy_ without using unsized

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. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Mar 3, 2026
@rustbot
Copy link
Collaborator

rustbot commented Mar 3, 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. T-libs Relevant to the library 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