1 note: external requirements
2 --> $DIR/projection-one-region-closure.rs:45:29
4 LL | with_signature(cell, t, |cell, t| require(cell, t));
7 = note: defining type: no_relationships_late::<'_#1r, T>::{closure#0} with closure substs [
9 extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T)),
12 = note: late-bound region is '_#3r
13 = note: number of external vids: 4
14 = note: where T: '_#2r
15 = note: where '_#1r: '_#2r
17 note: no external requirements
18 --> $DIR/projection-one-region-closure.rs:41:1
20 LL | / fn no_relationships_late<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
22 LL | | T: Anything<'b>,
23 | |____________________^
25 = note: defining type: no_relationships_late::<'_#1r, T>
27 error[E0309]: the parameter type `T` may not live long enough
28 --> $DIR/projection-one-region-closure.rs:45:39
30 LL | with_signature(cell, t, |cell, t| require(cell, t));
31 | ^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
33 help: consider adding an explicit lifetime bound...
35 LL | T: Anything<'b> + 'a,
38 error: lifetime may not live long enough
39 --> $DIR/projection-one-region-closure.rs:45:39
41 LL | fn no_relationships_late<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
42 | -- -- lifetime `'b` defined here
44 | lifetime `'a` defined here
46 LL | with_signature(cell, t, |cell, t| require(cell, t));
47 | ^^^^^^^^^^^^^^^^ argument requires that `'b` must outlive `'a`
49 = help: consider adding the following bound: `'b: 'a`
51 note: external requirements
52 --> $DIR/projection-one-region-closure.rs:56:29
54 LL | with_signature(cell, t, |cell, t| require(cell, t));
57 = note: defining type: no_relationships_early::<'_#1r, '_#2r, T>::{closure#0} with closure substs [
59 extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
62 = note: number of external vids: 4
63 = note: where T: '_#3r
64 = note: where '_#2r: '_#3r
66 note: no external requirements
67 --> $DIR/projection-one-region-closure.rs:51:1
69 LL | / fn no_relationships_early<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
71 LL | | T: Anything<'b>,
75 = note: defining type: no_relationships_early::<'_#1r, '_#2r, T>
77 error[E0309]: the parameter type `T` may not live long enough
78 --> $DIR/projection-one-region-closure.rs:56:39
80 LL | with_signature(cell, t, |cell, t| require(cell, t));
81 | ^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
83 help: consider adding an explicit lifetime bound...
85 LL | T: Anything<'b> + 'a,
88 error: lifetime may not live long enough
89 --> $DIR/projection-one-region-closure.rs:56:39
91 LL | fn no_relationships_early<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
92 | -- -- lifetime `'b` defined here
94 | lifetime `'a` defined here
96 LL | with_signature(cell, t, |cell, t| require(cell, t));
97 | ^^^^^^^^^^^^^^^^ argument requires that `'b` must outlive `'a`
99 = help: consider adding the following bound: `'b: 'a`
101 note: external requirements
102 --> $DIR/projection-one-region-closure.rs:70:29
104 LL | with_signature(cell, t, |cell, t| require(cell, t));
107 = note: defining type: projection_outlives::<'_#1r, '_#2r, T>::{closure#0} with closure substs [
109 extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
112 = note: number of external vids: 4
113 = note: where <T as Anything<ReEarlyBound(1, 'b)>>::AssocType: '_#3r
115 note: no external requirements
116 --> $DIR/projection-one-region-closure.rs:62:1
118 LL | / fn projection_outlives<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
120 LL | | T: Anything<'b>,
121 LL | | T::AssocType: 'a,
122 | |_____________________^
124 = note: defining type: projection_outlives::<'_#1r, '_#2r, T>
126 note: external requirements
127 --> $DIR/projection-one-region-closure.rs:80:29
129 LL | with_signature(cell, t, |cell, t| require(cell, t));
132 = note: defining type: elements_outlive::<'_#1r, '_#2r, T>::{closure#0} with closure substs [
134 extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
137 = note: number of external vids: 4
138 = note: where T: '_#3r
139 = note: where '_#2r: '_#3r
141 note: no external requirements
142 --> $DIR/projection-one-region-closure.rs:74:1
144 LL | / fn elements_outlive<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
146 LL | | T: Anything<'b>,
151 = note: defining type: elements_outlive::<'_#1r, '_#2r, T>
153 error: aborting due to 4 previous errors
155 For more information about this error, try `rustc --explain E0309`.