1 error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
2 --> $DIR/issue-55608-captures-empty-region.rs:6:16
4 LL | fn server() -> impl FilterBase2 {
7 = note: hidden type `Map2<[closure@$DIR/issue-55608-captures-empty-region.rs:7:36: 7:41]>` captures an empty lifetime
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0700`.