1 error[E0597]: `x` does not live long enough
2 --> $DIR/region-borrow-params-issue-29793-big.rs:81:43
4 LL | WrapB::new().set(|t: bool| if t { x } else { y }) // (separate errors for `x` vs `y`)
5 | --------- ^ borrowed value does not live long enough
10 | - `x` dropped here while still borrowed
12 error[E0597]: `y` does not live long enough
13 --> $DIR/region-borrow-params-issue-29793-big.rs:81:54
15 LL | WrapB::new().set(|t: bool| if t { x } else { y }) // (separate errors for `x` vs `y`)
16 | --------- ^ borrowed value does not live long enough
21 | - `y` dropped here while still borrowed
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0597`.