]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/did_you_mean/issue-39544.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / did_you_mean / issue-39544.stderr
index ce0d697238c6b6c85338ac280b94bf47eee2965c..68180eaee036c41f1fa7d80fa88fead6bb498250 100644 (file)
@@ -90,7 +90,7 @@ LL |     let _ = &mut z.x;
 LL |     let _ = &mut w.x;
    |             ^^^^^^^^ `w` is a `&` reference, so the data it refers to cannot be borrowed as mutable
 
-error[E0594]: cannot assign to `*x.0` which is behind a `&` reference
+error[E0594]: cannot assign to `*x.0`, which is behind a `&` reference
   --> $DIR/issue-39544.rs:48:5
    |
 LL |     *x.0 = 1;