]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-init-op-equal.rs
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[rust.git] / src / test / ui / borrowck / borrowck-init-op-equal.rs
1 fn test() {
2     let v: isize;
3     v += 1; //~ ERROR use of possibly-uninitialized variable: `v`
4     v.clone();
5 }
6
7 fn main() {
8 }