@@ -397,9 +397,6 @@ declare_features! (
397397 // Multiple patterns with `|` in `if let` and `while let`.
398398 ( active, if_while_or_patterns, "1.26.0" , Some ( 48215 ) , None ) ,
399399
400- // Allows `#[repr(packed)]` attribute on structs.
401- ( active, repr_packed, "1.26.0" , Some ( 33158 ) , None ) ,
402-
403400 // Allows macro invocations in `extern {}` blocks.
404401 ( active, macros_in_extern, "1.27.0" , Some ( 49476 ) , None ) ,
405402
@@ -695,6 +692,8 @@ declare_features! (
695692 ( accepted, self_in_typedefs, "1.32.0" , Some ( 49303 ) , None ) ,
696693 // `use path as _;` and `extern crate c as _;`
697694 ( accepted, underscore_imports, "1.33.0" , Some ( 48216 ) , None ) ,
695+ // Allows `#[repr(packed(N))]` attribute on structs.
696+ ( accepted, repr_packed, "1.33.0" , Some ( 33158 ) , None ) ,
698697) ;
699698
700699// If you change this, please modify `src/doc/unstable-book` as well. You must
@@ -1588,13 +1587,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
15881587 gate_feature_post ! ( & self , repr_simd, attr. span,
15891588 "SIMD types are experimental and possibly buggy" ) ;
15901589 }
1591- if let Some ( ( name, _) ) = item. name_value_literal ( ) {
1592- if name == "packed" {
1593- gate_feature_post ! ( & self , repr_packed, attr. span,
1594- "the `#[repr(packed(n))]` attribute \
1595- is experimental") ;
1596- }
1597- }
15981590 }
15991591 }
16001592 }
0 commit comments