Skip to content

Commit 0e40714

Browse files
committed
---
yaml --- r: 48762 b: refs/heads/snap-stage3 c: d68b98a h: refs/heads/master v: v3
1 parent 6eea071 commit 0e40714

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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 3bbcac322669cff3abde5be937cc4ec3860f3985
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 3d56936be3c010829edf188475140dcb322da803
4+
refs/heads/snap-stage3: d68b98a5bfebffb28d49e14e6568a69c547c74ae
55
refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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)