Skip to content

Commit d65784b

Browse files
committed
---
yaml --- r: 27685 b: refs/heads/try c: 9a77a17 h: refs/heads/master i: 27683: d960edc v: v3
1 parent 30e0474 commit d65784b

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5-
refs/heads/try: 7bbdf296e0a235fcd262615ffefb20e64a7ec48e
5+
refs/heads/try: 9a77a17e3b51f2185fbbab2a4a301d6572834c72
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
// xfail-test After the closure syntax change this started failing with the wrong error message
2-
// error-pattern: not all control paths return
31
fn force(f: fn() -> int) -> int { f() }
4-
fn main() { log(error, force(|| {})); }
2+
fn main() { log(debug, force(|| {})); } //~ ERROR mismatched types
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// xfail-test After the closure syntax change this started failing with the wrong error message
2-
fn main(_s: ~[str]) {
1+
fn main() {
32
let a: ~[int] = ~[];
4-
do vec::each(a) |_x| { //~ ERROR not all control paths return a value
5-
}
3+
vec::each(a, fn@(_x: int) -> bool { //~ ERROR not all control paths return a value
4+
});
65
}

0 commit comments

Comments
 (0)