@@ -321,7 +321,7 @@ impl<'a, 'gcx, 'tcx> ExprUseVisitor<'a, 'gcx, 'tcx> {
321321 region:: Scope {
322322 id : body. value . hir_id . local_id ,
323323 data : region:: ScopeData :: Node
324- } ) ) ;
324+ } ) ) ;
325325 let arg_cmt = Rc :: new ( self . mc . cat_rvalue (
326326 arg. hir_id ,
327327 arg. pat . span ,
@@ -402,20 +402,20 @@ impl<'a, 'gcx, 'tcx> ExprUseVisitor<'a, 'gcx, 'tcx> {
402402 self . walk_expr ( & subexpr)
403403 }
404404
405- hir:: ExprKind :: Unary ( hir:: UnDeref , ref base) => { // *base
405+ hir:: ExprKind :: Unary ( hir:: UnDeref , ref base) => { // *base
406406 self . select_from_expr ( & base) ;
407407 }
408408
409- hir:: ExprKind :: Field ( ref base, _) => { // base.f
409+ hir:: ExprKind :: Field ( ref base, _) => { // base.f
410410 self . select_from_expr ( & base) ;
411411 }
412412
413- hir:: ExprKind :: Index ( ref lhs, ref rhs) => { // lhs[rhs]
413+ hir:: ExprKind :: Index ( ref lhs, ref rhs) => { // lhs[rhs]
414414 self . select_from_expr ( & lhs) ;
415415 self . consume_expr ( & rhs) ;
416416 }
417417
418- hir:: ExprKind :: Call ( ref callee, ref args) => { // callee(args)
418+ hir:: ExprKind :: Call ( ref callee, ref args) => { // callee(args)
419419 self . walk_callee ( expr, & callee) ;
420420 self . consume_exprs ( args) ;
421421 }
@@ -824,12 +824,13 @@ impl<'a, 'gcx, 'tcx> ExprUseVisitor<'a, 'gcx, 'tcx> {
824824 cmt_discr : mc:: cmt < ' tcx > ,
825825 pat : & hir:: Pat ,
826826 mode : & mut TrackMatchMode ) {
827- debug ! ( "determine_pat_move_mode cmt_discr={:?} pat={:?}" , cmt_discr,
828- pat ) ;
827+ debug ! ( "determine_pat_move_mode cmt_discr={:?} pat={:?}" , cmt_discr, pat ) ;
828+
829829 return_if_err ! ( self . mc. cat_pattern( cmt_discr, pat, |cmt_pat, pat| {
830830 if let PatKind :: Binding ( ..) = pat. node {
831- let bm = * self . mc. tables. pat_binding_modes( ) . get( pat. hir_id)
832- . expect( "missing binding mode" ) ;
831+ let bm = * self . mc. tables. pat_binding_modes( )
832+ . get( pat. hir_id)
833+ . expect( "missing binding mode" ) ;
833834 match bm {
834835 ty:: BindByReference ( ..) =>
835836 mode. lub( BorrowingMatch ) ,
0 commit comments