@@ -448,7 +448,8 @@ impl<'a, 'tcx: 'a> SpanlessHash<'a, 'tcx> {
|
||||
CaptureClause::CaptureByValue => 0,
|
||||
CaptureClause::CaptureByRef => 1,
|
||||
}.hash(&mut self.s);
|
||||
self.hash_expr(&self.cx.tcx.hir.body(eid).value);
|
||||
let value = &self.cx.tcx.hir.body(eid).value;
|
||||
self.hash_expr(value);
|
||||
},
|
||||
ExprKind::Field(ref e, ref f) => {
|
||||
let c: fn(_, _) -> _ = ExprKind::Field;
|
||||
@@ -515,7 +516,8 @@ impl<'a, 'tcx: 'a> SpanlessHash<'a, 'tcx> {
|
||||
self.hash_expr(e);
|
||||
let full_table = self.tables;
|
||||
self.tables = self.cx.tcx.body_tables(l_id.body);
|
||||
self.hash_expr(&self.cx.tcx.hir.body(l_id.body).value);
|
||||
let value = &self.cx.tcx.hir.body(l_id.body).value;
|
||||
self.hash_expr(value);
|
||||
self.tables = full_table;
|
||||
},
|
||||
ExprKind::Ret(ref e) => {
|
||||
|
||||
Reference in New Issue
Block a user