@@ -117,7 +117,7 @@ impl VariantShape {
117
117
quote ! { span => #it : #mapped , }
118
118
} ) ;
119
119
quote ! { span =>
120
- #path { ##fields }
120
+ #path { # #fields }
121
121
}
122
122
}
123
123
& VariantShape :: Tuple ( n) => {
@@ -128,7 +128,7 @@ impl VariantShape {
128
128
}
129
129
} ) ;
130
130
quote ! { span =>
131
- #path ( ##fields )
131
+ #path ( # #fields )
132
132
}
133
133
}
134
134
VariantShape :: Unit => path,
@@ -523,7 +523,7 @@ fn expand_simple_derive_with_parsed(
523
523
524
524
let name = info. name ;
525
525
quote ! { invoc_span =>
526
- impl < ##params #extra_impl_params > #trait_path for #name < ##args > where ##where_block { #trait_body }
526
+ impl < # #params #extra_impl_params > #trait_path for #name < # #args > where # #where_block { #trait_body }
527
527
}
528
528
}
529
529
@@ -572,7 +572,7 @@ fn clone_expand(
572
572
quote ! { span =>
573
573
fn clone( & self ) -> Self {
574
574
match self {
575
- ##arms
575
+ # #arms
576
576
}
577
577
}
578
578
}
@@ -650,7 +650,7 @@ fn debug_expand(
650
650
}
651
651
} ) ;
652
652
quote ! { span =>
653
- f. debug_struct( #name) ##for_fields . finish( )
653
+ f. debug_struct( #name) # #for_fields . finish( )
654
654
}
655
655
}
656
656
VariantShape :: Tuple ( n) => {
@@ -660,7 +660,7 @@ fn debug_expand(
660
660
}
661
661
} ) ;
662
662
quote ! { span =>
663
- f. debug_tuple( #name) ##for_fields . finish( )
663
+ f. debug_tuple( #name) # #for_fields . finish( )
664
664
}
665
665
}
666
666
VariantShape :: Unit => quote ! { span =>
@@ -703,7 +703,7 @@ fn debug_expand(
703
703
quote ! { span =>
704
704
fn fmt( & self , f: & mut #krate:: fmt:: Formatter ) -> #krate:: fmt:: Result {
705
705
match self {
706
- ##arms
706
+ # #arms
707
707
}
708
708
}
709
709
}
@@ -736,7 +736,7 @@ fn hash_expand(
736
736
let it =
737
737
names. iter ( ) . map ( |it| quote ! { span => #it . hash( ra_expand_state) ; } ) ;
738
738
quote ! { span => {
739
- ##it
739
+ # #it
740
740
} }
741
741
} ;
742
742
let fat_arrow = fat_arrow ( span) ;
@@ -754,7 +754,7 @@ fn hash_expand(
754
754
fn hash<H : #krate:: hash:: Hasher >( & self , ra_expand_state: & mut H ) {
755
755
#check_discriminant
756
756
match self {
757
- ##arms
757
+ # #arms
758
758
}
759
759
}
760
760
}
@@ -803,7 +803,7 @@ fn partial_eq_expand(
803
803
let t2 = tt:: Ident :: new ( & format ! ( "{}_other" , first. sym) , first. span ) ;
804
804
quote ! ( span =>#t1 . eq( #t2 ) )
805
805
} ;
806
- quote ! ( span =>#first ##rest)
806
+ quote ! ( span =>#first # #rest)
807
807
}
808
808
} ;
809
809
quote ! { span => ( #pat1 , #pat2 ) #fat_arrow #body , }
@@ -814,7 +814,7 @@ fn partial_eq_expand(
814
814
quote ! { span =>
815
815
fn eq( & self , other: & Self ) -> bool {
816
816
match ( self , other) {
817
- ##arms
817
+ # #arms
818
818
_unused #fat_arrow false
819
819
}
820
820
}
@@ -891,7 +891,7 @@ fn ord_expand(
891
891
let fat_arrow = fat_arrow ( span) ;
892
892
let mut body = quote ! { span =>
893
893
match ( self , other) {
894
- ##arms
894
+ # #arms
895
895
_unused #fat_arrow #krate:: cmp:: Ordering :: Equal
896
896
}
897
897
} ;
@@ -961,7 +961,7 @@ fn partial_ord_expand(
961
961
right,
962
962
quote ! { span =>
963
963
match ( self , other) {
964
- ##arms
964
+ # #arms
965
965
_unused #fat_arrow #krate:: option:: Option :: Some ( #krate:: cmp:: Ordering :: Equal )
966
966
}
967
967
} ,
0 commit comments