]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/regions/regions-ret-borrowed.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / regions / regions-ret-borrowed.stderr
index eb1ade27acea7a3f8c51e31959a43ceca7da3fce..b74f10f5075ebdf2db4f45e518eef0435f6fb853 100644 (file)
@@ -9,9 +9,13 @@ note: first, the lifetime cannot outlive the anonymous lifetime #2 defined on th
    |
 LL |     with(|o| o)
    |          ^^^^^
-   = note: ...so that the expression is assignable:
-           expected &isize
-              found &isize
+note: ...so that the expression is assignable
+  --> $DIR/regions-ret-borrowed.rs:13:14
+   |
+LL |     with(|o| o)
+   |              ^
+   = note: expected  `&isize`
+              found  `&isize`
 note: but, the lifetime must be valid for the lifetime `'a` as defined on the function body at 12:14...
   --> $DIR/regions-ret-borrowed.rs:12:14
    |