File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/librustc/middle/trans Expand file tree Collapse file tree 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 {
567567 constraints. push ( copy * c) ;
568568
569569 let aoutty = ty:: arg {
570- mode : ast:: expl ( ast:: by_val ) ,
570+ mode : ast:: expl ( ast:: by_copy ) ,
571571 ty : expr_ty ( bcx, out)
572572 } ;
573573 aoutputs. push ( unpack_result ! ( bcx, {
@@ -581,7 +581,7 @@ fn trans_rvalue_stmt_unadjusted(bcx: block, expr: @ast::expr) -> block {
581581 };
582582
583583 let outty = ty::arg {
584- mode: ast::expl(ast::by_val ),
584+ mode: ast::expl(ast::by_copy ),
585585 ty: expr_ty(bcx, e)
586586 };
587587
@@ -601,7 +601,7 @@ fn trans_rvalue_stmt_unadjusted(bcx: block, expr: @ast::expr) -> block {
601601 constraints.push(copy *c);
602602
603603 let inty = ty::arg {
604- mode: ast::expl(ast::by_val ),
604+ mode: ast::expl(ast::by_copy ),
605605 ty: expr_ty(bcx, in)
606606 };
607607
You can’t perform that action at this time.
0 commit comments