8 lines
161 B
Rust
8 lines
161 B
Rust
fn main() {
|
|
let f = fn@() -> int {
|
|
let i: int;
|
|
return i; //~ ERROR use of possibly uninitialized variable: `i`
|
|
};
|
|
log(error, f());
|
|
}
|