1 error[E0597]: `container` does not live long enough
2 --> $DIR/issue-25199.rs:83:1
4 80 | let test = Test{test: &container};
5 | --------- borrow occurs here
8 | ^ `container` dropped here while still borrowed
10 = note: values in a scope are dropped in the opposite order they are created
12 error[E0597]: `container` does not live long enough
13 --> $DIR/issue-25199.rs:83:1
15 82 | container.store(test);
16 | --------- borrow occurs here
18 | ^ `container` dropped here while still borrowed
20 = note: values in a scope are dropped in the opposite order they are created
22 error: aborting due to 2 previous errors