7 lines
148 B
Rust
7 lines
148 B
Rust
fn main() {
|
|
let a: ~[int] = ~[];
|
|
vec::each_ref(a, fn@(_x: &int) -> bool {
|
|
//~^ ERROR not all control paths return a value
|
|
});
|
|
}
|