1 error[E0597]: `x` does not live long enough
2 --> $DIR/issue-52534-2.rs:6:13
5 | ^^ borrowed value does not live long enough
8 | - `x` dropped here while still borrowed
10 LL | println!("{}", y);
11 | - borrow later used here
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0597`.