Skip to content

Commit 1a37b4f

Browse files
committed
---
yaml --- r: 3312 b: refs/heads/master c: 523a088 h: refs/heads/master v: v3
1 parent 50cbc83 commit 1a37b4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: ae234d61eae736f2d5bfba2b223417be539a5936
2+
refs/heads/master: 523a0884511e11fa686badfca7c1aa7445761d7e

trunk/src/comp/middle/typeck.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ fn check_expr(&@fn_ctxt fcx, &@ast::expr expr) {
14671467
auto lhs_t = expr_ty(fcx.ccx.tcx, lhs);
14681468
auto rhs_t = expr_ty(fcx.ccx.tcx, rhs);
14691469

1470-
demand::autoderef(fcx, expr.span, lhs_t, rhs_t, AUTODEREF_OK);
1470+
demand::autoderef(fcx, rhs.span, lhs_t, rhs_t, AUTODEREF_OK);
14711471

14721472
// FIXME: Binops have a bit more subtlety than this.
14731473

0 commit comments

Comments
 (0)