rustc: Use the unified result for the type of assignment expressions
This commit is contained in:
parent
55ab187c9c
commit
0387b5a060
1 changed files with 1 additions and 1 deletions
|
@ -1696,7 +1696,7 @@ fn check_expr(&@fn_ctxt fcx, @ast.expr expr) -> @ast.expr {
|
|||
auto lhs_1 = Pushdown.pushdown_expr(fcx, rhs_t0, lhs_0);
|
||||
auto rhs_1 = Pushdown.pushdown_expr(fcx, expr_ty(lhs_1), rhs_0);
|
||||
|
||||
auto ann = triv_ann(rhs_t0);
|
||||
auto ann = triv_ann(expr_ty(rhs_1));
|
||||
ret tup(lhs_1, rhs_1, ann);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue