1 error[E0597]: `x` does not live long enough
2 --> $DIR/vec_refs_data_with_early_death.rs:17:13
5 | ^ borrowed value does not live long enough
8 | - `x` dropped here while still borrowed
10 = note: values in a scope are dropped in the opposite order they are created
12 error[E0597]: `y` does not live long enough
13 --> $DIR/vec_refs_data_with_early_death.rs:19:13
16 | ^ borrowed value does not live long enough
19 | - `y` dropped here while still borrowed
21 = note: values in a scope are dropped in the opposite order they are created
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0597`.