1error[E0582]: binding for associated type `Output` references lifetime `'a`, which does not appear in the trait input types
2  --> $DIR/bound-lifetime-constrained.rs:38:63
3   |
4LL | fn clause1<T>() where T: for<'a> Fn(<() as Foo<'a>>::Item) -> &'a i32 {
5   |                                                               ^^^^^^^
6
7error[E0582]: binding for associated type `Output` references lifetime `'a`, which does not appear in the trait input types
8  --> $DIR/bound-lifetime-constrained.rs:43:42
9   |
10LL | fn clause2<T>() where T: for<'a> Fn() -> <() as Foo<'a>>::Item {
11   |                                          ^^^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0582`.
16