Skip to content

Commit 80740a0

Browse files
committed
---
yaml --- r: 3134 b: refs/heads/master c: 94d971c h: refs/heads/master v: v3
1 parent 3be1d19 commit 80740a0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: f50fd6d8aeb587896db6c9457f1dd355cec2b487
2+
refs/heads/master: 94d971c0e8f54ca22bbfdb08196282bd83e6c77b

trunk/src/comp/middle/typeck.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,9 +1424,8 @@ fn check_expr(&@fn_ctxt fcx, &@ast::expr expr) {
14241424
&@ast::expr rhs, &ast::ann a) {
14251425
check_expr(fcx, lhs);
14261426
check_expr(fcx, rhs);
1427-
auto typ =
1428-
demand::simple(fcx, sp, expr_ty(fcx.ccx.tcx, lhs),
1429-
expr_ty(fcx.ccx.tcx, rhs));
1427+
demand::simple(fcx, sp, expr_ty(fcx.ccx.tcx, lhs),
1428+
expr_ty(fcx.ccx.tcx, rhs));
14301429
write::ty_only_fixup(fcx, a.id, ty::mk_nil(fcx.ccx.tcx));
14311430
}
14321431
// A generic function for checking call expressions

0 commit comments

Comments
 (0)