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 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue