]> git.proxmox.com Git - rustc.git/blob - src/test/ui/span/issue-36537.stderr
New upstream version 1.14.0+dfsg1
[rustc.git] / src / test / ui / span / issue-36537.stderr
1 error: `a` does not live long enough
2 --> $DIR/issue-36537.rs:15:1
3 |
4 14 | p = &a; //~ NOTE borrow occurs here
5 | - borrow occurs here
6 15 | }
7 | ^ `a` dropped here while still borrowed
8 |
9 = note: values in a scope are dropped in the opposite order they are created
10
11 error: aborting due to previous error
12