@@ -43,23 +43,23 @@ impl StabilityParser {
4343
4444impl  AttributeParser  for  StabilityParser  { 
4545    const  ATTRIBUTES :  AcceptMapping < Self >  = & [ 
46-         ( & [ sym:: stable] ,  |this,  cx,  args| { 
46+         ( sym:: stable,  |this,  cx,  args| { 
4747            reject_outside_std ! ( cx) ; 
4848            if  !this. check_duplicate ( cx) 
4949                && let  Some ( ( feature,  level) )  = parse_stability ( cx,  args) 
5050            { 
5151                this. stability  = Some ( ( Stability  {  level,  feature } ,  cx. attr_span ) ) ; 
5252            } 
5353        } ) , 
54-         ( & [ sym:: unstable] ,  |this,  cx,  args| { 
54+         ( sym:: unstable,  |this,  cx,  args| { 
5555            reject_outside_std ! ( cx) ; 
5656            if  !this. check_duplicate ( cx) 
5757                && let  Some ( ( feature,  level) )  = parse_unstability ( cx,  args) 
5858            { 
5959                this. stability  = Some ( ( Stability  {  level,  feature } ,  cx. attr_span ) ) ; 
6060            } 
6161        } ) , 
62-         ( & [ sym:: rustc_allowed_through_unstable_modules] ,  |this,  cx,  args| { 
62+         ( sym:: rustc_allowed_through_unstable_modules,  |this,  cx,  args| { 
6363            reject_outside_std ! ( cx) ; 
6464            this. allowed_through_unstable_modules  = args. name_value ( ) . and_then ( |i| i. value_as_str ( ) ) 
6565        } ) , 
@@ -97,7 +97,7 @@ pub(crate) struct BodyStabilityParser {
9797
9898impl  AttributeParser  for  BodyStabilityParser  { 
9999    const  ATTRIBUTES :  AcceptMapping < Self >  =
100-         & [ ( & [ sym:: rustc_default_body_unstable] ,  |this,  cx,  args| { 
100+         & [ ( sym:: rustc_default_body_unstable,  |this,  cx,  args| { 
101101            reject_outside_std ! ( cx) ; 
102102            if  this. stability . is_some ( )  { 
103103                cx. dcx ( ) 
@@ -117,7 +117,7 @@ impl AttributeParser for BodyStabilityParser {
117117pub ( crate )  struct  ConstStabilityIndirectParser ; 
118118// FIXME(jdonszelmann): single word attribute group when we have these 
119119impl  SingleAttributeParser  for  ConstStabilityIndirectParser  { 
120-     const  PATH :  & ' static   [ rustc_span :: Symbol ]  = & [ sym:: rustc_const_stable_indirect] ; 
120+     const  PATH :  Symbol  = sym:: rustc_const_stable_indirect; 
121121
122122    // ignore 
123123    fn  on_duplicate ( _cx :  & AcceptContext < ' _ > ,  _first_span :  Span )  { } 
@@ -147,7 +147,7 @@ impl ConstStabilityParser {
147147
148148impl  AttributeParser  for  ConstStabilityParser  { 
149149    const  ATTRIBUTES :  AcceptMapping < Self >  = & [ 
150-         ( & [ sym:: rustc_const_stable] ,  |this,  cx,  args| { 
150+         ( sym:: rustc_const_stable,  |this,  cx,  args| { 
151151            reject_outside_std ! ( cx) ; 
152152
153153            if  !this. check_duplicate ( cx) 
@@ -159,7 +159,7 @@ impl AttributeParser for ConstStabilityParser {
159159                ) ) ; 
160160            } 
161161        } ) , 
162-         ( & [ sym:: rustc_const_unstable] ,  |this,  cx,  args| { 
162+         ( sym:: rustc_const_unstable,  |this,  cx,  args| { 
163163            reject_outside_std ! ( cx) ; 
164164            if  !this. check_duplicate ( cx) 
165165                && let  Some ( ( feature,  level) )  = parse_unstability ( cx,  args) 
@@ -170,7 +170,7 @@ impl AttributeParser for ConstStabilityParser {
170170                ) ) ; 
171171            } 
172172        } ) , 
173-         ( & [ sym:: rustc_promotable] ,  |this,  cx,  _| { 
173+         ( sym:: rustc_promotable,  |this,  cx,  _| { 
174174            reject_outside_std ! ( cx) ; 
175175            this. promotable  = true ; 
176176        } ) , 
0 commit comments