@@ -1167,15 +1167,15 @@ impl<'a, 'tcx> Liveness<'a, 'tcx> {
11671167 hir:: ExprInlineAsm ( ref ia) => {
11681168
11691169 let succ = ia. outputs . iter ( ) . rev ( ) . fold ( succ,
1170- |succ, & ( _ , ref expr , is_rw , is_indirect ) | {
1170+ |succ, out | {
11711171 // see comment on lvalues
11721172 // in propagate_through_lvalue_components()
1173- if is_indirect {
1174- self . propagate_through_expr ( & * * expr, succ)
1173+ if out . is_indirect {
1174+ self . propagate_through_expr ( & * out . expr , succ)
11751175 } else {
1176- let acc = if is_rw { ACC_WRITE |ACC_READ } else { ACC_WRITE } ;
1177- let succ = self . write_lvalue ( & * * expr, succ, acc) ;
1178- self . propagate_through_lvalue_components ( & * * expr, succ)
1176+ let acc = if out . is_rw { ACC_WRITE |ACC_READ } else { ACC_WRITE } ;
1177+ let succ = self . write_lvalue ( & * out . expr , succ, acc) ;
1178+ self . propagate_through_lvalue_components ( & * out . expr , succ)
11791179 }
11801180 }
11811181 ) ;
@@ -1423,11 +1423,11 @@ fn check_expr(this: &mut Liveness, expr: &Expr) {
14231423 }
14241424
14251425 // Output operands must be lvalues
1426- for & ( _ , ref out, _ , is_indirect ) in & ia. outputs {
1427- if !is_indirect {
1428- this. check_lvalue ( & * * out) ;
1426+ for out in & ia. outputs {
1427+ if !out . is_indirect {
1428+ this. check_lvalue ( & * out. expr ) ;
14291429 }
1430- this. visit_expr ( & * * out) ;
1430+ this. visit_expr ( & * out. expr ) ;
14311431 }
14321432
14331433 intravisit:: walk_expr ( this, expr) ;
0 commit comments