Skip to content

Commit 292358c

Browse files
committed
---
yaml --- r: 14776 b: refs/heads/try c: 98260a2 h: refs/heads/master v: v3
1 parent 6653bf7 commit 292358c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: e34fad750359a3e72bb7b357432341b3d3f28c86
5+
refs/heads/try: 98260a2a22ab693f2363c68339cf5bb9fca011ab
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rustc/middle/tstate/states.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ fn find_pre_post_state_expr(fcx: fn_ctxt, pres: prestate, e: @expr) -> bool {
554554
ret changed | set_poststate_ann(fcx.ccx, e.id, pres);
555555
} else {
556556
ret changed | set_poststate_ann(fcx.ccx, e.id,
557-
block_poststate(fcx.ccx, body));
557+
false_postcond(num_constrs));
558558
}
559559
}
560560
expr_for(d, index, body) {

branches/try/src/test/compile-fail/while-loop-pred-constraints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ fn main() {
1111
check (even(y));
1212
loop {
1313
print_even(y);
14-
loop { loop { loop { y += x; } } }
14+
while true { while true { while true { y += x; } } }
1515
}
1616
}

0 commit comments

Comments
 (0)