},
ExprKind::DropTemps(ref expr) => {
let expr_pat = self.next("expr");
- println!("Use(ref {}) = {};", expr_pat, current);
+ println!("DropTemps(ref {}) = {};", expr_pat, current);
self.current = expr_pat;
self.visit_expr(expr);
},
println!("{}Err", ind);
},
hir::ExprKind::DropTemps(ref e) => {
- println!("{}Use", ind);
+ println!("{}DropTemps", ind);
print_expr(cx, e, indent + 1);
},
}
if_chain! {
- if let ExprKind::Use(ref expr) = expr.node;
+ if let ExprKind::DropTemps(ref expr) = expr.node;
if let ExprKind::Match(ref expr1, ref arms, MatchSource::ForLoopDesugar) = expr.node;
if let ExprKind::Call(ref func, ref args) = expr1.node;
if let ExprKind::Path(ref path) = func.node;