Skip to content

Commit 2928e33

Browse files
committed
---
yaml --- r: 44653 b: refs/heads/master c: a4403e5 h: refs/heads/master i: 44651: bb3e5da v: v3
1 parent 8ffd8b8 commit 2928e33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: 0c3290a217c8b92b1a29b79141a2c9118271cf15
2+
refs/heads/master: a4403e5cb8ddc9472a1ec66b02e3727d9f1f052a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
55
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3

trunk/src/librustc/middle/trans/closure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ pub fn build_closure(bcx0: block,
302302
// Return value (we just pass a by-ref () and cast it later to
303303
// the right thing):
304304
let ret_true = match bcx.fcx.loop_ret {
305-
Some((retptr, _)) => retptr,
305+
Some((_, retptr)) => retptr,
306306
None => bcx.fcx.llretptr
307307
};
308308
let ret_casted = PointerCast(bcx, ret_true, T_ptr(T_nil()));

0 commit comments

Comments
 (0)