fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0597]: `z.1` does not live long enough 2 --> $DIR/borrowck-local-borrow-with-panic-outlives-fn.rs:3:15 3 | 4LL | let mut z = (0, 0); 5 | ----- binding `z` declared here 6LL | *x = Some(&mut z.1); 7 | ----------^^^^^^^^- 8 | | | 9 | | borrowed value does not live long enough 10 | assignment requires that `z.1` is borrowed for `'static` 11... 12LL | } 13 | - `z.1` dropped here while still borrowed 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0597`.