We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54fe5f8 commit be8be0eCopy full SHA for be8be0e
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 3f7b112b161dd77d5095417856df327aa50179f4
+refs/heads/master: a7f29b34989284f4ab604ad8a742dfffcf367c97
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
trunk/src/test/compile-fail/bad-for-loop.rs
@@ -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`
}
0 commit comments