Fix busted test case

My last commit made more type errors recoverable, so extra errors
that were getting suppressed before were unleashed.
This commit is contained in:
Tim Chevalier 2012-12-08 23:51:51 -08:00
parent 3f7b112b16
commit a7f29b3498

View File

@ -1,4 +1,4 @@
fn main() {
fn baz(_x: fn() -> int) {}
fn baz(_x: fn(y: int) -> int) {}
for baz |_e| { } //~ ERROR should return `bool`
}