]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-init-op-equal.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / ui / borrowck / borrowck-init-op-equal.rs
1 fn test() {
2     let v: isize;
3     v += 1; //~ ERROR E0381
4     v.clone();
5 }
6
7 fn main() {
8 }