]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/rfc1623-2.stderr
Rollup merge of #93112 - pietroalbini:pa-cve-2022-21658-nightly, r=pietroalbini
[rust.git] / src / test / ui / rfc1623-2.stderr
index 732bb61e6eebbab489c8b80b0a092591cfac126d..65b9f68817aa42f28d951d1a4ce5cf929d2523b7 100644 (file)
@@ -9,7 +9,7 @@ LL | static NON_ELIDABLE_FN: &fn(&u8, &u8) -> &u8 =
 help: consider making the type lifetime-generic with a new `'a` lifetime
    |
 LL | static NON_ELIDABLE_FN: &for<'a> fn(&'a u8, &'a u8) -> &'a u8 =
-   |                          ^^^^^^^    ^^^^^^  ^^^^^^     ^^^
+   |                          +++++++     ++      ++         ++
 
 error[E0106]: missing lifetime specifier
   --> $DIR/rfc1623-2.rs:10:39
@@ -22,7 +22,7 @@ LL |     &(non_elidable as fn(&u8, &u8) -> &u8);
 help: consider making the type lifetime-generic with a new `'a` lifetime
    |
 LL |     &(non_elidable as for<'a> fn(&'a u8, &'a u8) -> &'a u8);
-   |                       ^^^^^^^    ^^^^^^  ^^^^^^     ^^^
+   |                       +++++++     ++      ++         ++
 
 error: aborting due to 2 previous errors