@@ -399,9 +399,6 @@ declare_features! (
399
399
// `extern` in paths
400
400
( active, extern_in_paths, "1.23.0" , Some ( 44660 ) , None ) ,
401
401
402
- // Allows `#[repr(transparent)]` attribute on newtype structs
403
- ( active, repr_transparent, "1.25.0" , Some ( 43036 ) , None ) ,
404
-
405
402
// Use `?` as the Kleene "at most one" operator
406
403
( active, macro_at_most_once_rep, "1.25.0" , Some ( 48075 ) , None ) ,
407
404
@@ -615,6 +612,8 @@ declare_features! (
615
612
( accepted, termination_trait_test, "1.27.0" , Some ( 48854 ) , None ) ,
616
613
// The #[global_allocator] attribute
617
614
( accepted, global_allocator, "1.28.0" , Some ( 27389 ) , None ) ,
615
+ // Allows `#[repr(transparent)]` attribute on newtype structs
616
+ ( accepted, repr_transparent, "1.28.0" , Some ( 43036 ) , None ) ,
618
617
) ;
619
618
620
619
// If you change this, please modify src/doc/unstable-book as well. You must
@@ -1595,11 +1594,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
1595
1594
gate_feature_post ! ( & self , repr_simd, attr. span,
1596
1595
"SIMD types are experimental and possibly buggy" ) ;
1597
1596
}
1598
- if item. check_name ( "transparent" ) {
1599
- gate_feature_post ! ( & self , repr_transparent, attr. span,
1600
- "the `#[repr(transparent)]` attribute \
1601
- is experimental") ;
1602
- }
1603
1597
if let Some ( ( name, _) ) = item. name_value_literal ( ) {
1604
1598
if name == "packed" {
1605
1599
gate_feature_post ! ( & self , repr_packed, attr. span,
0 commit comments