@@ -101,8 +101,8 @@ impl<'a, 'tcx: 'a> SpanlessEq<'a, 'tcx> {
101
101
self . eq_expr ( lc, rc) && self . eq_block ( lt, rt) && both ( le, re, |l, r| self . eq_expr ( l, r) )
102
102
}
103
103
( & ExprLit ( ref l) , & ExprLit ( ref r) ) => l. node == r. node ,
104
- ( & ExprLoop ( ref lb, ref ll, ref lls ) , & ExprLoop ( ref rb, ref rl, ref rls ) ) => {
105
- self . eq_block ( lb, rb) && both ( ll, rl, |l, r| l. node . as_str ( ) == r. node . as_str ( ) ) && lls == rls
104
+ ( & ExprLoop ( ref lb, ref ll, _ ) , & ExprLoop ( ref rb, ref rl, _ ) ) => {
105
+ self . eq_block ( lb, rb) && both ( ll, rl, |l, r| l. node . as_str ( ) == r. node . as_str ( ) )
106
106
}
107
107
( & ExprMatch ( ref le, ref la, _) , & ExprMatch ( ref re, ref ra, _) ) => {
108
108
self . eq_expr ( le, re) &&
@@ -380,14 +380,13 @@ impl<'a, 'tcx: 'a> SpanlessHash<'a, 'tcx> {
380
380
c. hash ( & mut self . s ) ;
381
381
l. hash ( & mut self . s ) ;
382
382
}
383
- ExprLoop ( ref b, ref i, ref j ) => {
383
+ ExprLoop ( ref b, ref i, _ ) => {
384
384
let c: fn ( _, _, _) -> _ = ExprLoop ;
385
385
c. hash ( & mut self . s ) ;
386
386
self . hash_block ( b) ;
387
387
if let Some ( i) = * i {
388
388
self . hash_name ( & i. node ) ;
389
389
}
390
- j. hash ( & mut self . s ) ;
391
390
}
392
391
ExprMatch ( ref e, ref arms, _) => {
393
392
let c: fn ( _, _, _) -> _ = ExprMatch ;
0 commit comments