]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/impl-trait/region-escape-via-bound.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / impl-trait / region-escape-via-bound.stderr
index bc02f7694d7f68d0c8f11f106bc346f2b7839886..fdb2fe022b4d250d77cd044dda70677cfe347983 100644 (file)
@@ -1,4 +1,4 @@
-error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
+error[E0700]: hidden type for `impl Trait<'y>` captures lifetime that does not appear in bounds
   --> $DIR/region-escape-via-bound.rs:17:5
    |
 LL | fn foo<'x, 'y>(x: Cell<&'x u32>) -> impl Trait<'y>