@@ -399,9 +399,6 @@ declare_features! (
399399 // `extern` in paths
400400 ( active, extern_in_paths, "1.23.0" , Some ( 44660 ) , None ) ,
401401
402- // Allows `#[repr(transparent)]` attribute on newtype structs
403- ( active, repr_transparent, "1.25.0" , Some ( 43036 ) , None ) ,
404-
405402 // Use `?` as the Kleene "at most one" operator
406403 ( active, macro_at_most_once_rep, "1.25.0" , Some ( 48075 ) , None ) ,
407404
@@ -615,6 +612,8 @@ declare_features! (
615612 ( accepted, termination_trait_test, "1.27.0" , Some ( 48854 ) , None ) ,
616613 // The #[global_allocator] attribute
617614 ( 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 ) ,
618617) ;
619618
620619// 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> {
15951594 gate_feature_post ! ( & self , repr_simd, attr. span,
15961595 "SIMD types are experimental and possibly buggy" ) ;
15971596 }
1598- if item. check_name ( "transparent" ) {
1599- gate_feature_post ! ( & self , repr_transparent, attr. span,
1600- "the `#[repr(transparent)]` attribute \
1601- is experimental") ;
1602- }
16031597 if let Some ( ( name, _) ) = item. name_value_literal ( ) {
16041598 if name == "packed" {
16051599 gate_feature_post ! ( & self , repr_packed, attr. span,
0 commit comments