1 error: unsatisfied lifetime constraints
2 --> $DIR/associated-types-project-from-hrtb-in-fn-body.rs:32:29
4 LL | fn bar<'a, 'b, I : for<'x> Foo<&'x isize>>(
5 | -- -- lifetime `'b` defined here
7 | lifetime `'a` defined here
9 LL | let z: I::A = if cond { x } else { y };
10 | ^ assignment requires that `'a` must outlive `'b`
12 error: unsatisfied lifetime constraints
13 --> $DIR/associated-types-project-from-hrtb-in-fn-body.rs:32:40
15 LL | fn bar<'a, 'b, I : for<'x> Foo<&'x isize>>(
16 | -- -- lifetime `'b` defined here
18 | lifetime `'a` defined here
20 LL | let z: I::A = if cond { x } else { y };
21 | ^ assignment requires that `'b` must outlive `'a`
23 error: aborting due to 2 previous errors