Skip to content

Commit f74b79c

Browse files
committed
---
yaml --- r: 139041 b: refs/heads/try2 c: d68b98a h: refs/heads/master i: 139039: 9d52971 v: v3
1 parent b923dd8 commit f74b79c

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 3d56936be3c010829edf188475140dcb322da803
8+
refs/heads/try2: d68b98a5bfebffb28d49e14e6568a69c547c74ae
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/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)