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