Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
fn test() {
let v: isize;
//~^ HELP consider making this binding mutable
//~| SUGGESTION mut
v = 1; //~ NOTE first assignment
println!("v={}", v);
v = 2; //~ ERROR cannot assign twice to immutable variable
//~| NOTE cannot assign twice to immutable
}
fn main() {