@@ -562,10 +562,10 @@ declare_features! (
562
562
// Allows `if/while p && let q = r && ...` chains.
563
563
( active, let_chains, "1.37.0" , Some ( 53667 ) , None ) ,
564
564
565
- // #[repr(transparent)] on enums.
565
+ // Allows #[repr(transparent)] on enums (RFC 2645) .
566
566
( active, transparent_enums, "1.37.0" , Some ( 60405 ) , None ) ,
567
567
568
- // #[repr(transparent)] on unions.
568
+ // Allows #[repr(transparent)] on unions (RFC 2645) .
569
569
( active, transparent_unions, "1.37.0" , Some ( 60405 ) , None ) ,
570
570
571
571
// Allows explicit discriminants on non-unit enum variants.
@@ -580,6 +580,9 @@ declare_features! (
580
580
// Allows the use of `#[cfg(doctest)]`, set when rustdoc is collecting doctests
581
581
( active, cfg_doctest, "1.37.0" , Some ( 62210 ) , None ) ,
582
582
583
+ // Allows `[x; N]` where `x` is a constant (RFC 2203).
584
+ ( active, const_in_array_repeat_expressions, "1.37.0" , Some ( 49147 ) , None ) ,
585
+
583
586
// -------------------------------------------------------------------------
584
587
// feature-group-end: actual feature gates
585
588
// -------------------------------------------------------------------------
0 commit comments