]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/variance/variance-use-contravariant-struct-1.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / variance / variance-use-contravariant-struct-1.stderr
index 618f56da512d6aa6a71765fed3bc5a408f3192f7..423c9a601f456dd293e47e9754fa9880c8dcafec 100644 (file)
@@ -4,8 +4,8 @@ error[E0308]: mismatched types
 LL |     v
    |     ^ lifetime mismatch
    |
-   = note: expected type `SomeStruct<&'min ()>`
-              found type `SomeStruct<&'max ()>`
+   = note: expected struct `SomeStruct<&'min ()>`
+              found struct `SomeStruct<&'max ()>`
 note: the lifetime `'min` as defined on the function body at 8:8...
   --> $DIR/variance-use-contravariant-struct-1.rs:8:8
    |