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:
parent
3f7b112b16
commit
a7f29b3498
@ -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`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user