]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/nll/issue-51244.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / nll / issue-51244.rs
index 743415d58afadb3b01e53473bdf25210cf1742c7..c4cbee6754c0461432785589aae247b71392fbcc 100644 (file)
@@ -1,5 +1,5 @@
 fn main() {
     let ref my_ref @ _ = 0;
     *my_ref = 0;
-    //~^ ERROR cannot assign to `*my_ref` which is behind a `&` reference [E0594]
+    //~^ ERROR cannot assign to `*my_ref`, which is behind a `&` reference [E0594]
 }