]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/assign-imm-local-twice.rs
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / assign-imm-local-twice.rs
index ee9dafdd49eb86c897d6ed4672ff8dd0d54e5248..137414ccc6de01a87081e80bd5ea373c3eecfe0d 100644 (file)
@@ -13,7 +13,8 @@
 
 fn test() {
     let v: isize;
-    //[mir]~^ NOTE consider changing this to `mut v`
+    //[mir]~^ HELP make this binding mutable
+    //[mir]~| SUGGESTION mut v
     v = 1; //[ast]~ NOTE first assignment
            //[mir]~^ NOTE first assignment
     println!("v={}", v);