Skip to content

Commit e4f38dc

Browse files
committed
---
yaml --- r: 138423 b: refs/heads/try2 c: a4403e5 h: refs/heads/master i: 138421: b07a02a 138419: 253abc8 138415: 125b640 v: v3
1 parent 7584242 commit e4f38dc

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
@@ -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: 0c3290a217c8b92b1a29b79141a2c9118271cf15
8+
refs/heads/try2: a4403e5cb8ddc9472a1ec66b02e3727d9f1f052a
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/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)