1 error[E0597]: `*a` does not live long enough
2 --> $DIR/destructor-restrictions.rs:18:10
7 | borrowed value does not live long enough
8 | borrow may end up in a temporary, created here
9 LL | }; //~^ ERROR `*a` does not live long enough
10 | -- temporary later dropped here, potentially using the reference
12 | borrowed value only lives until here
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0597`.