8 lines
152 B
Rust
8 lines
152 B
Rust
|
fn f() -> int {
|
||
|
let mut x: int;
|
||
|
while 1 == 1 { x = 10; }
|
||
|
ret x; //! ERROR use of possibly uninitialized variable: `x`
|
||
|
}
|
||
|
|
||
|
fn main() { f(); }
|