1 warning: not reporting region error due to -Znll
2 --> $DIR/impl-trait-captures.rs:22:5
7 error[E0621]: explicit lifetime required in the type of `x`
8 --> $DIR/impl-trait-captures.rs:22:5
10 21 | fn foo<'a, T>(x: &T) -> impl Foo<'a> {
11 | - consider changing the type of `x` to `&ReEarlyBound(0, 'a) T`
13 | ^ lifetime `ReEarlyBound(0, 'a)` required
15 error: aborting due to previous error