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 | - borrowed value dropped before borrower
12 = note: values in a scope are dropped in the opposite order they are created
14 error[E0597]: `y` does not live long enough
15 --> $DIR/region-borrow-params-issue-29793-big.rs:81:54
17 LL | WrapB::new().set(|t: bool| if t { x } else { y }) // (separate errors for `x` vs `y`)
18 | --------- ^ borrowed value does not live long enough
23 | - borrowed value dropped before borrower
25 = note: values in a scope are dropped in the opposite order they are created
27 error: aborting due to 2 previous errors
29 For more information about this error, try `rustc --explain E0597`.