1 error[E0597]: `y` does not live long enough
2 --> $DIR/regions-nested-fns-2.rs:16:9
5 LL | | //~^ ERROR E0373
6 LL | | if false { &y } else { z }
8 | |_________^ borrowed value does not live long enough
10 | - `y` dropped here while still borrowed
12 = note: borrowed value must be valid for the static lifetime...
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0597`.