1 2 3 4 5 6 7
fn main() { let f = fn@() -> int { let i: int; ret i; //~ ERROR use of possibly uninitialized variable: `i` }; log(error, f()); }