]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-52533.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-52533.stderr
index 76a2470a2e03e3268d8ed8dd26ac4fb569101dba..586548002072ed201e1a4fb44de50acfaf2a38da 100644 (file)
@@ -1,16 +1,16 @@
 error[E0312]: lifetime of reference outlives lifetime of borrowed content...
-  --> $DIR/issue-52533.rs:15:16
+  --> $DIR/issue-52533.rs:5:16
    |
 LL |     foo(|a, b| b)
    |                ^
    |
-note: ...the reference is valid for the anonymous lifetime #2 defined on the body at 15:9...
-  --> $DIR/issue-52533.rs:15:9
+note: ...the reference is valid for the anonymous lifetime #2 defined on the body at 5:9...
+  --> $DIR/issue-52533.rs:5:9
    |
 LL |     foo(|a, b| b)
    |         ^^^^^^^^
-note: ...but the borrowed content is only valid for the anonymous lifetime #3 defined on the body at 15:9
-  --> $DIR/issue-52533.rs:15:9
+note: ...but the borrowed content is only valid for the anonymous lifetime #3 defined on the body at 5:9
+  --> $DIR/issue-52533.rs:5:9
    |
 LL |     foo(|a, b| b)
    |         ^^^^^^^^