]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-40288-2.stderr
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-40288-2.stderr
index fd0b4c01636d10b1c334ca50731d848870b02a69..2c64856b08f8dae34291e63629eed7030041d642 100644 (file)
@@ -1,5 +1,5 @@
 error[E0621]: explicit lifetime required in the type of `y`
-  --> $DIR/issue-40288-2.rs:19:5
+  --> $DIR/issue-40288-2.rs:9:5
    |
 LL | fn lifetime_transmute_slice<'a, T: ?Sized>(x: &'a T, y: &T) -> &'a T {
    |                                                         -- help: add explicit lifetime `'a` to the type of `y`: `&'a T`
@@ -8,7 +8,7 @@ LL |     out[0]
    |     ^^^^^^ lifetime `'a` required
 
 error[E0621]: explicit lifetime required in the type of `y`
-  --> $DIR/issue-40288-2.rs:34:5
+  --> $DIR/issue-40288-2.rs:24:5
    |
 LL | fn lifetime_transmute_struct<'a, T: ?Sized>(x: &'a T, y: &T) -> &'a T {
    |                                                          -- help: add explicit lifetime `'a` to the type of `y`: `&'a T`