Commit d4b499e 1 parent 38956e6 commit d4b499e Copy full SHA for d4b499e
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -618,8 +618,8 @@ spanless_eq_enum!(PatKind; Wild Ident(0 1 2) Struct(0 1 2 3) TupleStruct(0 1 2)
618
618
Never Paren ( 0 ) MacCall ( 0 ) Err ( 0 ) ) ;
619
619
spanless_eq_enum ! ( TyKind ; Slice ( 0 ) Array ( 0 1 ) Ptr ( 0 ) Ref ( 0 1 ) BareFn ( 0 ) Never
620
620
Tup ( 0 ) AnonStruct ( 0 1 ) AnonUnion ( 0 1 ) Path ( 0 1 ) TraitObject ( 0 1 )
621
- ImplTrait ( 0 1 ) Paren ( 0 ) Typeof ( 0 ) Infer ImplicitSelf MacCall ( 0 ) Err
622
- CVarArgs ) ;
621
+ ImplTrait ( 0 1 ) Paren ( 0 ) Typeof ( 0 ) Infer ImplicitSelf MacCall ( 0 ) CVarArgs
622
+ Dummy Err ( 0 ) ) ;
623
623
624
624
impl SpanlessEq for Ident {
625
625
fn eq ( & self , other : & Self ) -> bool {
@@ -655,8 +655,8 @@ impl SpanlessEq for Param {
655
655
} = other;
656
656
SpanlessEq :: eq ( id, id2)
657
657
&& SpanlessEq :: eq ( is_placeholder, is_placeholder2)
658
- && ( matches ! ( ty. kind, TyKind :: Err )
659
- || matches ! ( ty2. kind, TyKind :: Err )
658
+ && ( matches ! ( ty. kind, TyKind :: Err ( _ ) )
659
+ || matches ! ( ty2. kind, TyKind :: Err ( _ ) )
660
660
|| SpanlessEq :: eq ( attrs, attrs2)
661
661
&& SpanlessEq :: eq ( ty, ty2)
662
662
&& SpanlessEq :: eq ( pat, pat2) )
You can’t perform that action at this time.
0 commit comments