@@ -397,9 +397,6 @@ declare_features! (
397
397
// Multiple patterns with `|` in `if let` and `while let`.
398
398
( active, if_while_or_patterns, "1.26.0" , Some ( 48215 ) , None ) ,
399
399
400
- // Allows `#[repr(packed)]` attribute on structs.
401
- ( active, repr_packed, "1.26.0" , Some ( 33158 ) , None ) ,
402
-
403
400
// Allows macro invocations in `extern {}` blocks.
404
401
( active, macros_in_extern, "1.27.0" , Some ( 49476 ) , None ) ,
405
402
@@ -695,6 +692,8 @@ declare_features! (
695
692
( accepted, self_in_typedefs, "1.32.0" , Some ( 49303 ) , None ) ,
696
693
// `use path as _;` and `extern crate c as _;`
697
694
( 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 ) ,
698
697
) ;
699
698
700
699
// 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> {
1588
1587
gate_feature_post ! ( & self , repr_simd, attr. span,
1589
1588
"SIMD types are experimental and possibly buggy" ) ;
1590
1589
}
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
- }
1598
1590
}
1599
1591
}
1600
1592
}
0 commit comments