]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/match/match-ref-mut-let-invariance.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / match / match-ref-mut-let-invariance.stderr
index 1bea9bce11e47df90641ca478bfd6bd21c9603a7..303aba3422cec62ba86949462ba41c60f0e99e72 100644 (file)
@@ -4,8 +4,8 @@ error[E0308]: mismatched types
 LL |         x
    |         ^ lifetime mismatch
    |
-   = note: expected type `&'a mut &'a i32`
-              found type `&'a mut &'b i32`
+   = note: expected mutable reference `&'a mut &'a i32`
+              found mutable reference `&'a mut &'b i32`
 note: the lifetime `'a` as defined on the method body at 9:12...
   --> $DIR/match-ref-mut-let-invariance.rs:9:12
    |