@@ -131,7 +131,6 @@ impl<'a, 'tcx: 'a> SpanlessEq<'a, 'tcx> {
131131 && over ( lf, rf, |l, r| self . eq_field ( l, r) )
132132 } ,
133133 ( & ExprTup ( ref l_tup) , & ExprTup ( ref r_tup) ) => self . eq_exprs ( l_tup, r_tup) ,
134- ( & ExprTupField ( ref le, li) , & ExprTupField ( ref re, ri) ) => li. node == ri. node && self . eq_expr ( le, re) ,
135134 ( & ExprUnary ( l_op, ref le) , & ExprUnary ( r_op, ref re) ) => l_op == r_op && self . eq_expr ( le, re) ,
136135 ( & ExprArray ( ref l) , & ExprArray ( ref r) ) => self . eq_exprs ( l, r) ,
137136 ( & ExprWhile ( ref lc, ref lb, ref ll) , & ExprWhile ( ref rc, ref rb, ref rl) ) => {
@@ -496,13 +495,6 @@ impl<'a, 'tcx: 'a> SpanlessHash<'a, 'tcx> {
496495 c. hash ( & mut self . s ) ;
497496 self . hash_exprs ( tup) ;
498497 } ,
499- ExprTupField ( ref le, li) => {
500- let c: fn ( _, _) -> _ = ExprTupField ;
501- c. hash ( & mut self . s ) ;
502-
503- self . hash_expr ( le) ;
504- li. node . hash ( & mut self . s ) ;
505- } ,
506498 ExprType ( ref e, ref _ty) => {
507499 let c: fn ( _, _) -> _ = ExprType ;
508500 c. hash ( & mut self . s ) ;
0 commit comments