6d86969260
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
15 lines
240 B
Rust
15 lines
240 B
Rust
fn foo() -> int {
|
|
let x: int;
|
|
|
|
loop {
|
|
break;
|
|
x = 0; //~ WARNING unreachable statement
|
|
}
|
|
|
|
log(debug, x); //~ ERROR use of possibly uninitialized variable: `x`
|
|
|
|
ret 17;
|
|
}
|
|
|
|
fn main() { log(debug, foo()); }
|