error[E0597]: `first_dropped` does not live long enough --> $DIR/issue28498-reject-trait-bound.rs:46:19 | LL | foo1 = Foo(1, &first_dropped); | ^^^^^^^^^^^^^^ borrowed value does not live long enough ... LL | } | - | | | borrowed value only lives until here | borrow later used here, when `foo1` is dropped error: aborting due to previous error For more information about this error, try `rustc --explain E0597`.