]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/augmented-assignments.rs
Rollup merge of #106779 - RReverser:patch-2, r=Mark-Simulacrum
[rust.git] / tests / ui / augmented-assignments.rs
index 20c7fb3a98395bddc9bf07788364b7630dd9d867..bd2435a78bf222152d8a6653e574e2a69ce5e1db 100644 (file)
@@ -9,7 +9,7 @@ fn add_assign(&mut self, _: Int) {
 }
 
 fn main() {
-    let mut x = Int(1);
+    let mut x = Int(1); //~ NOTE binding `x` declared here
     x
     //~^ NOTE borrow of `x` occurs here
     +=