1 error: lifetime may not live long enough
2 --> $DIR/regions-outlives-projection-container-hrtb.rs:27:12
4 LL | fn with_assoc<'a,'b>() {
5 | -- -- lifetime `'b` defined here
7 | lifetime `'a` defined here
9 LL | let _: &'a WithHrAssoc<TheType<'b>> = loop { };
10 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'b` must outlive `'a`
12 = help: consider adding the following bound: `'b: 'a`
14 error: lifetime may not live long enough
15 --> $DIR/regions-outlives-projection-container-hrtb.rs:46:12
17 LL | fn with_assoc_sub<'a,'b>() {
18 | -- -- lifetime `'b` defined here
20 | lifetime `'a` defined here
22 LL | let _: &'a WithHrAssocSub<TheType<'b>> = loop { };
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'b` must outlive `'a`
25 = help: consider adding the following bound: `'b: 'a`
27 error: aborting due to 2 previous errors