Skip to content

Commit c97a46b

Browse files
committed
---
yaml --- r: 34734 b: refs/heads/master c: d0ed13c h: refs/heads/master v: v3
1 parent 9a59711 commit c97a46b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: c5fa61349894282f9b9a367e08ede0ca4ef67a75
2+
refs/heads/master: d0ed13c4bdb19b2e9c445908775794f0880a301c
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024

trunk/src/rustc/middle/trans/alt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ fn trans_alt_inner(scope_cx: block,
12021202
arm_cxs.push(bcx);
12031203
}
12041204
1205-
return controlflow::join_blocks(scope_cx, dvec::unwrap(arm_cxs));
1205+
return controlflow::join_blocks(scope_cx, dvec::unwrap(move arm_cxs));
12061206
12071207
fn mk_fail(bcx: block, sp: span, msg: ~str,
12081208
done: @mut Option<BasicBlockRef>) -> BasicBlockRef {

trunk/src/rustc/middle/trans/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ fn block_(llbb: BasicBlockRef, parent: Option<block>, -kind: block_kind,
511511
terminated: false,
512512
unreachable: false,
513513
parent: parent,
514-
kind: kind,
514+
kind: move kind,
515515
is_lpad: is_lpad,
516516
node_info: node_info,
517517
fcx: fcx

trunk/src/rustc/middle/typeck/infer/combine.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ fn expected_found<C: combine,T>(
8888
self: &C, +a: T, +b: T) -> ty::expected_found<T> {
8989

9090
if self.a_is_expected() {
91-
ty::expected_found {expected: a, found: b}
91+
ty::expected_found {expected: move a, found: move b}
9292
} else {
93-
ty::expected_found {expected: b, found: a}
93+
ty::expected_found {expected: move b, found: move a}
9494
}
9595
}
9696

0 commit comments

Comments
 (0)