0d3811e275
doesn't warn about pattern bindings yet though
9 lines
130 B
Rust
9 lines
130 B
Rust
fn test() {
|
|
let mut v: int;
|
|
v = v + 1; //! ERROR use of possibly uninitialized variable: `v`
|
|
copy v;
|
|
}
|
|
|
|
fn main() {
|
|
}
|