Skip to content

Commit a7f29b3

Browse files
committed
Fix busted test case
My last commit made more type errors recoverable, so extra errors that were getting suppressed before were unleashed.
1 parent 3f7b112 commit a7f29b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/bad-for-loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
fn main() {
2-
fn baz(_x: fn() -> int) {}
2+
fn baz(_x: fn(y: int) -> int) {}
33
for baz |_e| { } //~ ERROR should return `bool`
44
}

0 commit comments

Comments
 (0)