1 error[E0597]: `last_dropped` does not live long enough
2 --> $DIR/issue28498-reject-trait-bound.rs:48:1
4 44 | foo0 = Foo(0, &last_dropped);
5 | ------------ borrow occurs here
8 | ^ `last_dropped` dropped here while still borrowed
10 = note: values in a scope are dropped in the opposite order they are created
12 error[E0597]: `first_dropped` does not live long enough
13 --> $DIR/issue28498-reject-trait-bound.rs:48:1
15 45 | foo1 = Foo(1, &first_dropped);
16 | ------------- borrow occurs here
19 | ^ `first_dropped` 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