@@ -71,7 +71,7 @@ macro_rules! declare_features {
7171 }
7272
7373 pub fn unordered_const_ty_params( & self ) -> bool {
74- self . const_generics || self . const_generics_defaults
74+ self . const_generics_defaults
7575 }
7676
7777 /// Some features are known to be incomplete and using them is likely to have
@@ -453,9 +453,6 @@ declare_features! (
453453 /// Allows using `#[ffi_returns_twice]` on foreign functions.
454454 ( active, ffi_returns_twice, "1.34.0" , Some ( 58314 ) , None ) ,
455455
456- /// Allows const generic types (e.g. `struct Foo<const N: usize>(...);`).
457- ( incomplete, const_generics, "1.34.0" , Some ( 44580 ) , None ) ,
458-
459456 /// Allows using `#[optimize(X)]`.
460457 ( active, optimize_attribute, "1.34.0" , Some ( 54882 ) , None ) ,
461458
@@ -676,6 +673,9 @@ declare_features! (
676673 /// Allows non-trivial generic constants which have to have wfness manually propagated to callers
677674 ( incomplete, generic_const_exprs, "1.56.0" , Some ( 76560 ) , None ) ,
678675
676+ /// Allows additional const parameter types, such as `&'static str` or user defined types
677+ ( incomplete, const_param_types, "1.56.0" , Some ( 44580 ) , None ) ,
678+
679679 // -------------------------------------------------------------------------
680680 // feature-group-end: actual feature gates
681681 // -------------------------------------------------------------------------
0 commit comments