fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0597]: `x` does not live long enough 2 --> $DIR/regions-escape-loop-via-variable.rs:11:13 3 | 4LL | let x = 1 + *p; 5 | - -- borrow later used here 6 | | 7 | binding `x` declared here 8LL | p = &x; 9 | ^^ borrowed value does not live long enough 10LL | } 11 | - `x` dropped here while still borrowed 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0597`.