1 error[E0623]: lifetime mismatch
2 --> $DIR/associated-types-project-from-hrtb-in-fn-body.rs:22:40
4 LL | x: <I as Foo<&'a isize>>::A,
5 | --------- these two types are declared with different lifetimes...
6 LL | y: <I as Foo<&'b isize>>::A,
9 LL | let z: I::A = if cond { x } else { y };
10 | ^ ...but data from `x` flows into `y` here
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0623`.