@@ -131,7 +131,6 @@ impl<'a, 'tcx: 'a> SpanlessEq<'a, 'tcx> {
131
131
&& over ( lf, rf, |l, r| self . eq_field ( l, r) )
132
132
} ,
133
133
( & 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) ,
135
134
( & ExprUnary ( l_op, ref le) , & ExprUnary ( r_op, ref re) ) => l_op == r_op && self . eq_expr ( le, re) ,
136
135
( & ExprArray ( ref l) , & ExprArray ( ref r) ) => self . eq_exprs ( l, r) ,
137
136
( & 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> {
496
495
c. hash ( & mut self . s ) ;
497
496
self . hash_exprs ( tup) ;
498
497
} ,
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
- } ,
506
498
ExprType ( ref e, ref _ty) => {
507
499
let c: fn ( _, _) -> _ = ExprType ;
508
500
c. hash ( & mut self . s ) ;
0 commit comments