1 note: External requirements
2 --> $DIR/projection-one-region-trait-bound-closure.rs:47:29
4 LL | with_signature(cell, t, |cell, t| require(cell, t));
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: defining type: DefId(0/1:19 ~ projection_one_region_trait_bound_closure[317d]::no_relationships_late[0]::{{closure}}[0]) with closure substs [
11 extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
13 = note: late-bound region is '_#3r
14 = note: number of external vids: 4
15 = note: where '_#1r: '_#2r
17 note: No external requirements
18 --> $DIR/projection-one-region-trait-bound-closure.rs:43:1
20 LL | / fn no_relationships_late<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
22 LL | | T: Anything<'b>,
24 LL | | with_signature(cell, t, |cell, t| require(cell, t));
29 = note: defining type: DefId(0/0:8 ~ projection_one_region_trait_bound_closure[317d]::no_relationships_late[0]) with substs [
34 error: unsatisfied lifetime constraints
35 --> $DIR/projection-one-region-trait-bound-closure.rs:47:39
37 LL | fn no_relationships_late<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
38 | -- -- lifetime `'b` defined here
40 | lifetime `'a` defined here
42 LL | with_signature(cell, t, |cell, t| require(cell, t));
43 | ^^^^^^^^^^^^^^^^ argument requires that `'b` must outlive `'a`
45 note: External requirements
46 --> $DIR/projection-one-region-trait-bound-closure.rs:57:29
48 LL | with_signature(cell, t, |cell, t| require(cell, t));
49 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
51 = note: defining type: DefId(0/1:23 ~ projection_one_region_trait_bound_closure[317d]::no_relationships_early[0]::{{closure}}[0]) with closure substs [
56 extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
58 = note: number of external vids: 4
59 = note: where '_#2r: '_#3r
61 note: No external requirements
62 --> $DIR/projection-one-region-trait-bound-closure.rs:52:1
64 LL | / fn no_relationships_early<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
66 LL | | T: Anything<'b>,
73 = note: defining type: DefId(0/0:9 ~ projection_one_region_trait_bound_closure[317d]::no_relationships_early[0]) with substs [
79 error: unsatisfied lifetime constraints
80 --> $DIR/projection-one-region-trait-bound-closure.rs:57:39
82 LL | fn no_relationships_early<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
83 | -- -- lifetime `'b` defined here
85 | lifetime `'a` defined here
87 LL | with_signature(cell, t, |cell, t| require(cell, t));
88 | ^^^^^^^^^^^^^^^^ argument requires that `'b` must outlive `'a`
90 note: External requirements
91 --> $DIR/projection-one-region-trait-bound-closure.rs:70:29
93 LL | with_signature(cell, t, |cell, t| require(cell, t));
94 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
96 = note: defining type: DefId(0/1:27 ~ projection_one_region_trait_bound_closure[317d]::projection_outlives[0]::{{closure}}[0]) with closure substs [
101 extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
103 = note: number of external vids: 4
104 = note: where <T as Anything<ReClosureBound('_#2r)>>::AssocType: '_#3r
106 note: No external requirements
107 --> $DIR/projection-one-region-trait-bound-closure.rs:62:1
109 LL | / fn projection_outlives<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
111 LL | | T: Anything<'b>,
112 LL | | T::AssocType: 'a,
114 LL | | with_signature(cell, t, |cell, t| require(cell, t));
118 = note: defining type: DefId(0/0:10 ~ projection_one_region_trait_bound_closure[317d]::projection_outlives[0]) with substs [
124 note: External requirements
125 --> $DIR/projection-one-region-trait-bound-closure.rs:79:29
127 LL | with_signature(cell, t, |cell, t| require(cell, t));
128 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
130 = note: defining type: DefId(0/1:31 ~ projection_one_region_trait_bound_closure[317d]::elements_outlive[0]::{{closure}}[0]) with closure substs [
135 extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
137 = note: number of external vids: 4
138 = note: where '_#2r: '_#3r
140 note: No external requirements
141 --> $DIR/projection-one-region-trait-bound-closure.rs:74:1
143 LL | / fn elements_outlive<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
145 LL | | T: Anything<'b>,
148 LL | | with_signature(cell, t, |cell, t| require(cell, t));
152 = note: defining type: DefId(0/0:11 ~ projection_one_region_trait_bound_closure[317d]::elements_outlive[0]) with substs [
158 note: External requirements
159 --> $DIR/projection-one-region-trait-bound-closure.rs:91:29
161 LL | with_signature(cell, t, |cell, t| require(cell, t));
162 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
164 = note: defining type: DefId(0/1:34 ~ projection_one_region_trait_bound_closure[317d]::one_region[0]::{{closure}}[0]) with closure substs [
168 extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
170 = note: number of external vids: 3
171 = note: where '_#1r: '_#2r
173 note: No external requirements
174 --> $DIR/projection-one-region-trait-bound-closure.rs:83:1
176 LL | / fn one_region<'a, T>(cell: Cell<&'a ()>, t: T)
178 LL | | T: Anything<'a>,
181 LL | | with_signature(cell, t, |cell, t| require(cell, t));
185 = note: defining type: DefId(0/0:12 ~ projection_one_region_trait_bound_closure[317d]::one_region[0]) with substs [
190 error: aborting due to 2 previous errors