1 error[E0491]: in type `&'a WithAssoc<TheType<'b>>`, reference has a longer lifetime than the data it references
2 --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:44:12
4 LL | let _: &'a WithAssoc<TheType<'b>> = loop { };
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
7 note: the pointer is valid for the lifetime `'a` as defined here
8 --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:38:15
10 LL | fn with_assoc<'a,'b>() {
12 note: but the referenced data is only valid for the lifetime `'b` as defined here
13 --> $DIR/regions-assoc-type-in-supertrait-outlives-container.rs:38:18
15 LL | fn with_assoc<'a,'b>() {
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0491`.