]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/generics/generic-extern-lifetime.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / generics / generic-extern-lifetime.stderr
index 3c9ed7a9dec081894eb70e2abdcec7e14629aa40..909848604ec8a5048fad45f055cf8c20ac393d6c 100644 (file)
@@ -14,7 +14,7 @@ LL |     pub fn life4<'b>(x: for<'c> fn(&'a i32));
 help: consider making the type lifetime-generic with a new `'a` lifetime
    |
 LL |     pub fn life4<'b>(x: for<'c, 'a> fn(&'a i32));
-   |                               ^^^^
+   |                               ++++
 
 error[E0261]: use of undeclared lifetime name `'a`
   --> $DIR/generic-extern-lifetime.rs:11:39
@@ -26,7 +26,7 @@ LL |     pub fn life7<'b>() -> for<'c> fn(&'a i32);
 help: consider making the type lifetime-generic with a new `'a` lifetime
    |
 LL |     pub fn life7<'b>() -> for<'c, 'a> fn(&'a i32);
-   |                                 ^^^^
+   |                                 ++++
 
 error: aborting due to 3 previous errors