]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/regions/regions-bounds.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / regions / regions-bounds.stderr
index a15710b86c06e8360e0d03b899f21a3f25342d5b..a4eebab38639e884f342a1759dbfc0c33cff8049 100644 (file)
@@ -4,8 +4,8 @@ error[E0308]: mismatched types
 LL |     return e;
    |            ^ lifetime mismatch
    |
-   = note: expected type `TupleStruct<'b>`
-              found type `TupleStruct<'a>`
+   = note: expected struct `TupleStruct<'b>`
+              found struct `TupleStruct<'a>`
 note: the lifetime `'a` as defined on the function body at 8:10...
   --> $DIR/regions-bounds.rs:8:10
    |
@@ -23,8 +23,8 @@ error[E0308]: mismatched types
 LL |     return e;
    |            ^ lifetime mismatch
    |
-   = note: expected type `Struct<'b>`
-              found type `Struct<'a>`
+   = note: expected struct `Struct<'b>`
+              found struct `Struct<'a>`
 note: the lifetime `'a` as defined on the function body at 12:10...
   --> $DIR/regions-bounds.rs:12:10
    |