1 warning: not reporting region error due to nll
2 --> $DIR/impl-trait-captures.rs:21:5
7 error[E0621]: explicit lifetime required in the type of `x`
8 --> $DIR/impl-trait-captures.rs:21:5
11 | ^ lifetime `ReEarlyBound(0, 'a)` required
12 help: add explicit lifetime `ReEarlyBound(0, 'a)` to the type of `x`
14 LL | fn foo<'a, T>(x: &ReEarlyBound(0, 'a) T) -> impl Foo<'a> {
15 | ^^^^^^^^^^^^^^^^^^^^^^
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0621`.