@@ -521,7 +521,7 @@ fn visit_expr<'a, 'tcx>(ir: &mut IrMaps<'a, 'tcx>, expr: &'tcx Expr) {
521521 hir:: ExprKind :: Binary ( ..) |
522522 hir:: ExprKind :: AddrOf ( ..) |
523523 hir:: ExprKind :: Cast ( ..) |
524- hir:: ExprKind :: Use ( ..) |
524+ hir:: ExprKind :: DropTemps ( ..) |
525525 hir:: ExprKind :: Unary ( ..) |
526526 hir:: ExprKind :: Break ( ..) |
527527 hir:: ExprKind :: Continue ( _) |
@@ -1222,7 +1222,7 @@ impl<'a, 'tcx> Liveness<'a, 'tcx> {
12221222 hir:: ExprKind :: AddrOf ( _, ref e) |
12231223 hir:: ExprKind :: Cast ( ref e, _) |
12241224 hir:: ExprKind :: Type ( ref e, _) |
1225- hir:: ExprKind :: Use ( ref e) |
1225+ hir:: ExprKind :: DropTemps ( ref e) |
12261226 hir:: ExprKind :: Unary ( _, ref e) |
12271227 hir:: ExprKind :: Yield ( ref e) |
12281228 hir:: ExprKind :: Repeat ( ref e, _) => {
@@ -1526,7 +1526,7 @@ fn check_expr<'a, 'tcx>(this: &mut Liveness<'a, 'tcx>, expr: &'tcx Expr) {
15261526 hir:: ExprKind :: Match ( ..) | hir:: ExprKind :: While ( ..) | hir:: ExprKind :: Loop ( ..) |
15271527 hir:: ExprKind :: Index ( ..) | hir:: ExprKind :: Field ( ..) |
15281528 hir:: ExprKind :: Array ( ..) | hir:: ExprKind :: Tup ( ..) | hir:: ExprKind :: Binary ( ..) |
1529- hir:: ExprKind :: Cast ( ..) | hir:: ExprKind :: Use ( ..) | hir:: ExprKind :: Unary ( ..) |
1529+ hir:: ExprKind :: Cast ( ..) | hir:: ExprKind :: DropTemps ( ..) | hir:: ExprKind :: Unary ( ..) |
15301530 hir:: ExprKind :: Ret ( ..) | hir:: ExprKind :: Break ( ..) | hir:: ExprKind :: Continue ( ..) |
15311531 hir:: ExprKind :: Lit ( _) | hir:: ExprKind :: Block ( ..) | hir:: ExprKind :: AddrOf ( ..) |
15321532 hir:: ExprKind :: Struct ( ..) | hir:: ExprKind :: Repeat ( ..) |
0 commit comments