]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/regions/regions-variance-invariant-use-covariant.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / regions / regions-variance-invariant-use-covariant.stderr
index aae519c5df2e9901057e23d14e4168399d24d591..e7a5db671bf6b6df56423e2466cc3c8a9878616a 100644 (file)
@@ -4,8 +4,8 @@ error[E0308]: mismatched types
 LL |     let _: Invariant<'static> = c;
    |                                 ^ lifetime mismatch
    |
-   = note: expected type `Invariant<'static>`
-              found type `Invariant<'b>`
+   = note: expected struct `Invariant<'static>`
+              found struct `Invariant<'b>`
 note: the lifetime `'b` as defined on the function body at 11:9...
   --> $DIR/regions-variance-invariant-use-covariant.rs:11:9
    |