rust/tests/ui/borrowck/borrowck-init-op-equal.rs
2023-01-11 09:32:08 +00:00

9 lines
90 B
Rust

fn test() {
let v: isize;
v += 1; //~ ERROR E0381
v.clone();
}
fn main() {
}