]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/macros/span-covering-argument-1.rs
Auto merge of #83152 - guswynn:jemallocator_part2, r=Mark-Simulacrum
[rust.git] / src / test / ui / macros / span-covering-argument-1.rs
index 0256aaf901e3a753c7ac33b0f5b226dda6b2a868..9b9506c80b150284adb10ed6b08c699b541d1c24 100644 (file)
@@ -3,7 +3,7 @@ macro_rules! bad {
         {
             let $s = 0;
             *&mut $s = 0;
-            //~^ ERROR cannot borrow immutable local variable `foo` as mutable [E0596]
+            //~^ ERROR cannot borrow `foo` as mutable, as it is not declared as mutable [E0596]
         }
     }
 }