@@ -90,6 +90,8 @@ declare_features! (
9090 ( accepted, const_fn_union, "1.56.0" , Some ( 51909 ) , None ) ,
9191 /// Allows unsizing coercions in `const fn`.
9292 ( accepted, const_fn_unsize, "1.54.0" , Some ( 64992 ) , None ) ,
93+ /// Allows const generics to have default values (e.g. `struct Foo<const N: usize = 3>(...);`).
94+ ( accepted, const_generics_defaults, "1.59.0" , Some ( 44580 ) , None ) ,
9395 /// Allows the use of `if` and `match` in constants.
9496 ( accepted, const_if_match, "1.46.0" , Some ( 49146 ) , None ) ,
9597 /// Allows indexing into constant arrays.
@@ -306,8 +308,6 @@ declare_features! (
306308 ( accepted, while_let, "1.0.0" , None , None ) ,
307309 /// Allows `#![windows_subsystem]`.
308310 ( accepted, windows_subsystem, "1.18.0" , Some ( 37499 ) , None ) ,
309- /// Allows const generics to have default values (e.g. `struct Foo<const N: usize = 3>(...);`).
310- ( accepted, const_generics_defaults, "1.58.0" , Some ( 44580 ) , None ) ,
311311 // !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!!
312312 // Features are listed in alphabetical order. Tidy will fail if you don't keep it this way.
313313 // !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!!
0 commit comments