@@ -23,16 +23,19 @@ LL | |     T: Anything<'b, 'c>,
2323   |
2424   = note: defining type: no_relationships_late::<'?1, '?2, T>
2525
26- error[E0309]: the associated type `<T as Anything<'?5 , '?6 >>::AssocType` may not live long enough
26+ error[E0309]: the associated type `<T as Anything<'b/#0 , 'c/#1 >>::AssocType` may not live long enough
2727  --> $DIR/projection-two-region-trait-bound-closure.rs:38:39
2828   |
2929LL | fn no_relationships_late<'a, 'b, 'c, T>(cell: Cell<&'a ()>, t: T)
30-    |                          -- the associated type `<T as Anything<'?5 , '?6 >>::AssocType` must be valid for the lifetime `'a` as defined here...
30+    |                          -- the associated type `<T as Anything<'b/#0 , 'c/#1 >>::AssocType` must be valid for the lifetime `'a` as defined here...
3131...
3232LL |     with_signature(cell, t, |cell, t| require(cell, t));
33-    |                                       ^^^^^^^^^^^^^^^^ ...so that the type `<T as Anything<'?5 , '?6 >>::AssocType` will meet its required lifetime bounds
33+    |                                       ^^^^^^^^^^^^^^^^ ...so that the type `<T as Anything<'b/#0 , 'c/#1 >>::AssocType` will meet its required lifetime bounds
3434   |
35-    = help: consider adding an explicit lifetime bound `<T as Anything<'?5, '?6>>::AssocType: 'a`...
35+ help: consider adding an explicit lifetime bound
36+    |
37+ LL |     T: Anything<'b, 'c>, <T as Anything<'b/#0, 'c/#1>>::AssocType: 'a
38+    |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3639
3740note: external requirements
3841  --> $DIR/projection-two-region-trait-bound-closure.rs:48:29
@@ -59,16 +62,19 @@ LL | |     'a: 'a,
5962   |
6063   = note: defining type: no_relationships_early::<'?1, '?2, '?3, T>
6164
62- error[E0309]: the associated type `<T as Anything<'?6 , '?7 >>::AssocType` may not live long enough
65+ error[E0309]: the associated type `<T as Anything<'b/#1 , 'c/#2 >>::AssocType` may not live long enough
6366  --> $DIR/projection-two-region-trait-bound-closure.rs:48:39
6467   |
6568LL | fn no_relationships_early<'a, 'b, 'c, T>(cell: Cell<&'a ()>, t: T)
66-    |                           -- the associated type `<T as Anything<'?6 , '?7 >>::AssocType` must be valid for the lifetime `'a` as defined here...
69+    |                           -- the associated type `<T as Anything<'b/#1 , 'c/#2 >>::AssocType` must be valid for the lifetime `'a` as defined here...
6770...
6871LL |     with_signature(cell, t, |cell, t| require(cell, t));
69-    |                                       ^^^^^^^^^^^^^^^^ ...so that the type `<T as Anything<'?6, '?7>>::AssocType` will meet its required lifetime bounds
72+    |                                       ^^^^^^^^^^^^^^^^ ...so that the type `<T as Anything<'b/#1, 'c/#2>>::AssocType` will meet its required lifetime bounds
73+    |
74+ help: consider adding an explicit lifetime bound
7075   |
71-    = help: consider adding an explicit lifetime bound `<T as Anything<'?6, '?7>>::AssocType: 'a`...
76+ LL |     'a: 'a, <T as Anything<'b/#1, 'c/#2>>::AssocType: 'a
77+    |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7278
7379note: external requirements
7480  --> $DIR/projection-two-region-trait-bound-closure.rs:61:29
0 commit comments