1 error: `a` does not live long enough
2 --> $DIR/issue-36537.rs:15:1
4 14 | p = &a; //~ NOTE borrow occurs here
7 | ^ `a` dropped here while still borrowed
9 = note: values in a scope are dropped in the opposite order they are created
11 error: aborting due to previous error