1 error[E0597]: `tmp0` does not live long enough
2 --> $DIR/regions-close-over-type-parameter-2.rs:33:20
5 | ^^^^^ borrowed value does not live long enough
7 | --------------- borrow later captured here by trait object
9 | - `tmp0` dropped here while still borrowed
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0597`.