]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/regions/regions-variance-invariant-use-covariant.stderr
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / ui / regions / regions-variance-invariant-use-covariant.stderr
index 5b50f4bd51373e83c682f868547fc2904d931391..34111120a08074ffe95578dfa9ae5405c2935fe9 100644 (file)
@@ -1,13 +1,13 @@
 error[E0308]: mismatched types
-  --> $DIR/regions-variance-invariant-use-covariant.rs:29:33
+  --> $DIR/regions-variance-invariant-use-covariant.rs:27:33
    |
 LL |     let _: Invariant<'static> = c; //~ ERROR mismatched types
    |                                 ^ lifetime mismatch
    |
    = note: expected type `Invariant<'static>`
               found type `Invariant<'b>`
-note: the lifetime 'b as defined on the function body at 23:9...
-  --> $DIR/regions-variance-invariant-use-covariant.rs:23:9
+note: the lifetime 'b as defined on the function body at 21:9...
+  --> $DIR/regions-variance-invariant-use-covariant.rs:21:9
    |
 LL | fn use_<'b>(c: Invariant<'b>) {
    |         ^^