1error[E0582]: binding for associated type `Output` references an anonymous lifetime, which does not appear in the trait input types
2  --> $DIR/issue-62200.rs:11:39
3   |
4LL | fn foo(x: impl Fn(<S as T<'_>>::A) -> <S as T<'_>>::A) {}
5   |                                       ^^^^^^^^^^^^^^^
6   |
7   = note: lifetimes appearing in an associated type are not considered constrained
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0582`.
12