File tree 1 file changed +3
-3
lines changed
src/librustc/middle/trans
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -567,7 +567,7 @@ fn trans_rvalue_stmt_unadjusted(bcx: block, expr: @ast::expr) -> block {
567
567
constraints. push ( copy * c) ;
568
568
569
569
let aoutty = ty:: arg {
570
- mode : ast:: expl ( ast:: by_val ) ,
570
+ mode : ast:: expl ( ast:: by_copy ) ,
571
571
ty : expr_ty ( bcx, out)
572
572
} ;
573
573
aoutputs. push ( unpack_result ! ( bcx, {
@@ -581,7 +581,7 @@ fn trans_rvalue_stmt_unadjusted(bcx: block, expr: @ast::expr) -> block {
581
581
};
582
582
583
583
let outty = ty::arg {
584
- mode: ast::expl(ast::by_val ),
584
+ mode: ast::expl(ast::by_copy ),
585
585
ty: expr_ty(bcx, e)
586
586
};
587
587
@@ -601,7 +601,7 @@ fn trans_rvalue_stmt_unadjusted(bcx: block, expr: @ast::expr) -> block {
601
601
constraints.push(copy *c);
602
602
603
603
let inty = ty::arg {
604
- mode: ast::expl(ast::by_val ),
604
+ mode: ast::expl(ast::by_copy ),
605
605
ty: expr_ty(bcx, in)
606
606
};
607
607
You can’t perform that action at this time.
0 commit comments