6 lines
129 B
Rust
6 lines
129 B
Rust
fn main(_s: ~[str]) {
|
|
let a: ~[int] = ~[];
|
|
do vec::each(a) { |_x| //! ERROR not all control paths return a value
|
|
}
|
|
}
|