2012-08-09 12:50:18 -05:00
|
|
|
fn main() {
|
2012-06-29 18:26:56 -05:00
|
|
|
let a: ~[int] = ~[];
|
2012-09-18 23:41:13 -05:00
|
|
|
vec::each(a, fn@(_x: int) -> bool { //~ ERROR not all control paths return a value
|
2012-08-09 12:50:18 -05:00
|
|
|
});
|
2012-05-19 07:52:01 -05:00
|
|
|
}
|