]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-52533.stderr
New upstream version 1.49.0~beta.4+dfsg1
[rustc.git] / src / test / ui / issues / issue-52533.stderr
CommitLineData
8faf50e0 1error[E0312]: lifetime of reference outlives lifetime of borrowed content...
0731742a 2 --> $DIR/issue-52533.rs:5:16
8faf50e0
XL
3 |
4LL | foo(|a, b| b)
5 | ^
6 |
29967ef6 7note: ...the reference is valid for the anonymous lifetime #1 defined on the body at 5:9...
0731742a 8 --> $DIR/issue-52533.rs:5:9
8faf50e0
XL
9 |
10LL | foo(|a, b| b)
11 | ^^^^^^^^
29967ef6 12note: ...but the borrowed content is only valid for the anonymous lifetime #2 defined on the body at 5:9
0731742a 13 --> $DIR/issue-52533.rs:5:9
8faf50e0
XL
14 |
15LL | foo(|a, b| b)
16 | ^^^^^^^^
17
18error: aborting due to previous error
19
e1599b0c 20For more information about this error, try `rustc --explain E0312`.