1 error[E0597]: `y` does not live long enough
2 --> $DIR/regions-nested-fns-2.rs:18:25
5 | - has type `&'0 isize`
7 LL | if false { &y } else { z }
8 | ^ `y` would have to be valid for `'0`
11 | - ...but `y` is only valid for the duration of the `nested` function, so it is dropped here while still borrowed
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0597`.