Skip to content

Commit c536ad5

Browse files
committed
---
yaml --- r: 50722 b: refs/heads/try c: d68b98a h: refs/heads/master v: v3
1 parent c1c5e92 commit c536ad5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
5-
refs/heads/try: 3d56936be3c010829edf188475140dcb322da803
5+
refs/heads/try: d68b98a5bfebffb28d49e14e6568a69c547c74ae
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/librustc/middle/trans/expr.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)