]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/coercion/coerce-mut.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / coercion / coerce-mut.stderr
index f8e3d6e60d6500557de9ff994e744f4cd80bc169..2601ca5e91e5b4253a85258d7998dced020b674f 100644 (file)
@@ -4,8 +4,8 @@ error[E0308]: mismatched types
 LL |     f(&x);
    |       ^^ types differ in mutability
    |
-   = note: expected type `&mut i32`
-              found type `&{integer}`
+   = note: expected mutable reference `&mut i32`
+                      found reference `&{integer}`
 
 error: aborting due to previous error