@@ -379,7 +379,7 @@ impl<'a, 'tcx, F: Fn(Ty<'tcx>) -> bool> MoveDataBuilder<'a, 'tcx, F> {
379379 fn gather_statement ( & mut self , stmt : & Statement < ' tcx > ) {
380380 debug ! ( "gather_statement({:?}, {:?})" , self . loc, stmt) ;
381381 match & stmt. kind {
382- StatementKind :: Assign ( box ( place, Rvalue :: CopyForDeref ( reffed) ) ) => {
382+ StatementKind :: Assign ( ( place, Rvalue :: CopyForDeref ( reffed) ) ) => {
383383 let local = place. as_local ( ) . unwrap ( ) ;
384384 assert ! ( self . body. local_decls[ local] . is_deref_temp( ) ) ;
385385
@@ -389,12 +389,12 @@ impl<'a, 'tcx, F: Fn(Ty<'tcx>) -> bool> MoveDataBuilder<'a, 'tcx, F> {
389389 let base_local = rev_lookup. un_derefer . deref_chain ( local) . first ( ) . unwrap ( ) . local ;
390390 rev_lookup. locals [ local] = rev_lookup. locals [ base_local] ;
391391 }
392- StatementKind :: Assign ( box ( place, rval) ) => {
392+ StatementKind :: Assign ( ( place, rval) ) => {
393393 self . create_move_path ( * place) ;
394394 self . gather_init ( place. as_ref ( ) , InitKind :: Deep ) ;
395395 self . gather_rvalue ( rval) ;
396396 }
397- StatementKind :: FakeRead ( box ( _, place) ) => {
397+ StatementKind :: FakeRead ( ( _, place) ) => {
398398 self . create_move_path ( * place) ;
399399 }
400400 StatementKind :: StorageLive ( _) => { }
@@ -428,7 +428,7 @@ impl<'a, 'tcx, F: Fn(Ty<'tcx>) -> bool> MoveDataBuilder<'a, 'tcx, F> {
428428 | Rvalue :: Cast ( _, ref operand, _)
429429 | Rvalue :: UnaryOp ( _, ref operand)
430430 | Rvalue :: WrapUnsafeBinder ( ref operand, _) => self . gather_operand ( operand) ,
431- Rvalue :: BinaryOp ( ref _binop, box ( ref lhs, ref rhs) ) => {
431+ Rvalue :: BinaryOp ( ref _binop, ( ref lhs, ref rhs) ) => {
432432 self . gather_operand ( lhs) ;
433433 self . gather_operand ( rhs) ;
434434 }
0 commit comments