]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/feature-gates/feature-gate-in_band_lifetimes.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-in_band_lifetimes.stderr
index 497b8a429e0ed2a1fb4084c7eff16bc611ecf0c5..20e61303e36aafe41b64d7772c5f3a3c8cc89b01 100644 (file)
@@ -28,11 +28,11 @@ LL |     fn my_lifetime(&self) -> &'a u8 { self.0 }
 help: consider introducing lifetime `'a` here
    |
 LL | impl<'a> MyTrait<'a> for Y<&'a u8> {
-   |     ^^^^
+   |     ++++
 help: consider introducing lifetime `'a` here
    |
 LL |     fn my_lifetime<'a>(&self) -> &'a u8 { self.0 }
-   |                   ^^^^
+   |                   ++++
 
 error[E0261]: use of undeclared lifetime name `'b`
   --> $DIR/feature-gate-in_band_lifetimes.rs:55:27
@@ -44,11 +44,11 @@ LL |     fn any_lifetime() -> &'b u8 { &0 }
 help: consider introducing lifetime `'b` here
    |
 LL | impl<'b> MyTrait<'a> for Y<&'a u8> {
-   |     ^^^^
+   |     ++++
 help: consider introducing lifetime `'b` here
    |
 LL |     fn any_lifetime<'b>() -> &'b u8 { &0 }
-   |                    ^^^^
+   |                    ++++
 
 error[E0261]: use of undeclared lifetime name `'b`
   --> $DIR/feature-gate-in_band_lifetimes.rs:57:27
@@ -60,11 +60,11 @@ LL |     fn borrowed_lifetime(&'b self) -> &'b u8 { &*self.0 }
 help: consider introducing lifetime `'b` here
    |
 LL | impl<'b> MyTrait<'a> for Y<&'a u8> {
-   |     ^^^^
+   |     ++++
 help: consider introducing lifetime `'b` here
    |
 LL |     fn borrowed_lifetime<'b>(&'b self) -> &'b u8 { &*self.0 }
-   |                         ^^^^
+   |                         ++++
 
 error[E0261]: use of undeclared lifetime name `'b`
   --> $DIR/feature-gate-in_band_lifetimes.rs:57:40
@@ -76,11 +76,11 @@ LL |     fn borrowed_lifetime(&'b self) -> &'b u8 { &*self.0 }
 help: consider introducing lifetime `'b` here
    |
 LL | impl<'b> MyTrait<'a> for Y<&'a u8> {
-   |     ^^^^
+   |     ++++
 help: consider introducing lifetime `'b` here
    |
 LL |     fn borrowed_lifetime<'b>(&'b self) -> &'b u8 { &*self.0 }
-   |                         ^^^^
+   |                         ++++
 
 error[E0261]: use of undeclared lifetime name `'x`
   --> $DIR/feature-gate-in_band_lifetimes.rs:3:12
@@ -120,11 +120,11 @@ LL |     fn inner_2(&self) -> &'b u8 {
 help: consider introducing lifetime `'b` here
    |
 LL | impl<'b, 'a> X<'b> {
-   |      ^^^
+   |      +++
 help: consider introducing lifetime `'b` here
    |
 LL |     fn inner_2<'b>(&self) -> &'b u8 {
-   |               ^^^^
+   |               ++++
 
 error[E0261]: use of undeclared lifetime name `'b`
   --> $DIR/feature-gate-in_band_lifetimes.rs:23:8
@@ -146,11 +146,11 @@ LL |     fn inner_3(&self) -> &'b u8 {
 help: consider introducing lifetime `'b` here
    |
 LL | impl<'b> X<'b> {
-   |     ^^^^
+   |     ++++
 help: consider introducing lifetime `'b` here
    |
 LL |     fn inner_3<'b>(&self) -> &'b u8 {
-   |               ^^^^
+   |               ++++
 
 error[E0261]: use of undeclared lifetime name `'a`
   --> $DIR/feature-gate-in_band_lifetimes.rs:33:9
@@ -172,11 +172,11 @@ LL |     fn inner(&self) -> &'a u8 {
 help: consider introducing lifetime `'a` here
    |
 LL | impl<'a> Y<&'a u8> {
-   |     ^^^^
+   |     ++++
 help: consider introducing lifetime `'a` here
    |
 LL |     fn inner<'a>(&self) -> &'a u8 {
-   |             ^^^^
+   |             ++++
 
 error[E0261]: use of undeclared lifetime name `'b`
   --> $DIR/feature-gate-in_band_lifetimes.rs:43:27
@@ -188,11 +188,11 @@ LL |     fn any_lifetime() -> &'b u8;
 help: consider introducing lifetime `'b` here
    |
 LL | trait MyTrait<'b, 'a> {
-   |               ^^^
+   |               +++
 help: consider introducing lifetime `'b` here
    |
 LL |     fn any_lifetime<'b>() -> &'b u8;
-   |                    ^^^^
+   |                    ++++
 
 error[E0261]: use of undeclared lifetime name `'b`
   --> $DIR/feature-gate-in_band_lifetimes.rs:45:27
@@ -204,11 +204,11 @@ LL |     fn borrowed_lifetime(&'b self) -> &'b u8;
 help: consider introducing lifetime `'b` here
    |
 LL | trait MyTrait<'b, 'a> {
-   |               ^^^
+   |               +++
 help: consider introducing lifetime `'b` here
    |
 LL |     fn borrowed_lifetime<'b>(&'b self) -> &'b u8;
-   |                         ^^^^
+   |                         ++++
 
 error[E0261]: use of undeclared lifetime name `'b`
   --> $DIR/feature-gate-in_band_lifetimes.rs:45:40
@@ -220,11 +220,11 @@ LL |     fn borrowed_lifetime(&'b self) -> &'b u8;
 help: consider introducing lifetime `'b` here
    |
 LL | trait MyTrait<'b, 'a> {
-   |               ^^^
+   |               +++
 help: consider introducing lifetime `'b` here
    |
 LL |     fn borrowed_lifetime<'b>(&'b self) -> &'b u8;
-   |                         ^^^^
+   |                         ++++
 
 error: aborting due to 17 previous errors