@@ -521,7 +521,7 @@ fn visit_expr<'a, 'tcx>(ir: &mut IrMaps<'a, 'tcx>, expr: &'tcx Expr) {
521
521
hir:: ExprKind :: Binary ( ..) |
522
522
hir:: ExprKind :: AddrOf ( ..) |
523
523
hir:: ExprKind :: Cast ( ..) |
524
- hir:: ExprKind :: Use ( ..) |
524
+ hir:: ExprKind :: DropTemps ( ..) |
525
525
hir:: ExprKind :: Unary ( ..) |
526
526
hir:: ExprKind :: Break ( ..) |
527
527
hir:: ExprKind :: Continue ( _) |
@@ -1222,7 +1222,7 @@ impl<'a, 'tcx> Liveness<'a, 'tcx> {
1222
1222
hir:: ExprKind :: AddrOf ( _, ref e) |
1223
1223
hir:: ExprKind :: Cast ( ref e, _) |
1224
1224
hir:: ExprKind :: Type ( ref e, _) |
1225
- hir:: ExprKind :: Use ( ref e) |
1225
+ hir:: ExprKind :: DropTemps ( ref e) |
1226
1226
hir:: ExprKind :: Unary ( _, ref e) |
1227
1227
hir:: ExprKind :: Yield ( ref e) |
1228
1228
hir:: ExprKind :: Repeat ( ref e, _) => {
@@ -1526,7 +1526,7 @@ fn check_expr<'a, 'tcx>(this: &mut Liveness<'a, 'tcx>, expr: &'tcx Expr) {
1526
1526
hir:: ExprKind :: Match ( ..) | hir:: ExprKind :: While ( ..) | hir:: ExprKind :: Loop ( ..) |
1527
1527
hir:: ExprKind :: Index ( ..) | hir:: ExprKind :: Field ( ..) |
1528
1528
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 ( ..) |
1530
1530
hir:: ExprKind :: Ret ( ..) | hir:: ExprKind :: Break ( ..) | hir:: ExprKind :: Continue ( ..) |
1531
1531
hir:: ExprKind :: Lit ( _) | hir:: ExprKind :: Block ( ..) | hir:: ExprKind :: AddrOf ( ..) |
1532
1532
hir:: ExprKind :: Struct ( ..) | hir:: ExprKind :: Repeat ( ..) |
0 commit comments