@@ -122,7 +122,6 @@ use rustc_ast::ast::ModKind;
122122use rustc_ast:: ast:: ModSpans ;
123123use rustc_ast:: ast:: Movability ;
124124use rustc_ast:: ast:: MutRestriction ;
125- use rustc_ast:: ast:: MutTy ;
126125use rustc_ast:: ast:: Mutability ;
127126use rustc_ast:: ast:: NodeId ;
128127use rustc_ast:: ast:: NormalAttr ;
@@ -554,7 +553,6 @@ spanless_eq_struct!(MetaItemLit; symbol suffix kind span);
554553spanless_eq_struct ! ( MethodCall ; seg receiver args !span) ;
555554spanless_eq_struct ! ( ModSpans ; !inner_span !inject_use_span) ;
556555spanless_eq_struct ! ( MutRestriction ; kind span) ;
557- spanless_eq_struct ! ( MutTy ; ty mutbl) ;
558556spanless_eq_struct ! ( NormalAttr ; item tokens) ;
559557spanless_eq_struct ! ( ParenthesizedArgs ; span inputs inputs_span output) ;
560558spanless_eq_struct ! ( Pat ; id kind span) ;
@@ -696,10 +694,10 @@ spanless_eq_enum!(LitKind; Str(0 1) ByteStr(0 1) CStr(0 1) Byte(0) Char(0)
696694spanless_eq_enum ! ( PatKind ; Missing Wild Ident ( 0 1 2 ) Struct ( 0 1 2 3 )
697695 TupleStruct ( 0 1 2 ) Or ( 0 ) Path ( 0 1 ) Tuple ( 0 ) Deref ( 0 ) Ref ( 0 1 2 ) Expr ( 0 )
698696 Range ( 0 1 2 ) Slice ( 0 ) Rest Never Guard ( 0 1 ) Paren ( 0 ) MacCall ( 0 ) Err ( 0 ) ) ;
699- spanless_eq_enum ! ( TyKind ; Slice ( 0 ) Array ( 0 1 ) Ptr ( 0 ) Ref ( 0 1 ) PinnedRef ( 0 1 )
700- FnPtr ( 0 ) UnsafeBinder ( 0 ) Never Tup ( 0 ) Path ( 0 1 ) TraitObject ( 0 1 )
701- ImplTrait ( 0 1 ) Paren ( 0 ) Infer ImplicitSelf MacCall ( 0 ) CVarArgs Pat ( 0 1 )
702- FieldOf ( 0 1 2 ) View ( 0 1 ) GcaMacro ( 0 ) Dummy Err ( 0 ) ) ;
697+ spanless_eq_enum ! ( TyKind ; Slice ( 0 ) Array ( 0 1 ) Ptr ( 0 1 ) Ref ( 0 1 2 )
698+ PinnedRef ( 0 1 2 ) FnPtr ( 0 ) UnsafeBinder ( 0 ) Never Tup ( 0 ) Path ( 0 1 )
699+ TraitObject ( 0 1 ) ImplTrait ( 0 1 ) Paren ( 0 ) Infer ImplicitSelf MacCall ( 0 )
700+ CVarArgs Pat ( 0 1 ) FieldOf ( 0 1 2 ) View ( 0 1 ) GcaMacro ( 0 ) Dummy Err ( 0 ) ) ;
703701
704702impl SpanlessEq for Ident {
705703 fn eq ( & self , other : & Self ) -> bool {
0 commit comments