We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2122e36 commit 981edaeCopy full SHA for 981edae
src/comp/middle/trans.rs
@@ -804,7 +804,7 @@ impure fn trans_expr(@block_ctxt cx, &ast.expr e) -> result {
804
check (lhs_res._1);
805
auto rhs_res = trans_expr(lhs_res._0.bcx, *src);
806
ret res(rhs_res.bcx,
807
- cx.build.Store(rhs_res.val, lhs_res._0.val));
+ rhs_res.bcx.build.Store(rhs_res.val, lhs_res._0.val));
808
}
809
810
case (ast.expr_call(?f, ?args, _)) {
@@ -825,7 +825,7 @@ impure fn trans_expr(@block_ctxt cx, &ast.expr e) -> result {
825
cx.fcx.lltaskptr);
826
llargs += args_res._1;
827
ret res(args_res._0,
828
- cx.build.Call(f_res._0.val, llargs));
+ args_res._0.build.Call(f_res._0.val, llargs));
829
830
831
0 commit comments