Skip to content

Commit f5c58cb

Browse files
committed
---
yaml --- r: 1277 b: refs/heads/master c: 51542b2 h: refs/heads/master i: 1275: e0442f7 v: v3
1 parent 58e6d44 commit f5c58cb

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 6daec4004a8bcd57701690e8a704dde6102bf10e
2+
refs/heads/master: 51542b279fcae0f740a76b631ce0fbcdf4c7cf5e

trunk/src/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
456456
large-records.rs \
457457
lazy-init.rs \
458458
lazy-and-or.rs \
459+
linear-for-loop.rs \
459460
multiline-comment.rs \
460461
obj-drop.rs \
461462
obj-recursion.rs \

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1808,7 +1808,7 @@ fn trans_for(@block_ctxt cx,
18081808
cx.build.Br(scope_cx.llbb);
18091809
auto local_res = alloc_local(scope_cx, local);
18101810
auto bcx = copy_ty(local_res.bcx, true, local_res.val, curr, t).bcx;
1811-
trans_block(bcx, body);
1811+
bcx = trans_block(bcx, body).bcx;
18121812
bcx.build.Br(next_cx.llbb);
18131813
ret res(next_cx, C_nil());
18141814
}

0 commit comments

Comments
 (0)