1 error[E0597]: `x` does not live long enough
2 --> $DIR/regions-escape-loop-via-variable.rs:21:13
5 | -- borrow used here in later iteration of loop
7 | ^^ borrowed value does not live long enough
9 | - `x` dropped here while still borrowed
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0597`.