1 error[E0106]: missing lifetime specifiers
2 --> $DIR/missing-lifetime-specifier.rs:18:44
4 LL | static a: RefCell<HashMap<i32, Vec<Vec<Foo>>>> = RefCell::new(HashMap::new());
5 | ^^^ expected 2 lifetime parameters
7 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
8 help: consider using the `'static` lifetime
10 LL | static a: RefCell<HashMap<i32, Vec<Vec<Foo<'static, 'static>>>>> = RefCell::new(HashMap::new());
13 error[E0106]: missing lifetime specifiers
14 --> $DIR/missing-lifetime-specifier.rs:18:44
16 LL | / thread_local! {
17 LL | | static a: RefCell<HashMap<i32, Vec<Vec<Foo>>>> = RefCell::new(HashMap::new());
18 | | ^^^ expected 2 lifetime parameters
24 = help: this function's return type contains a borrowed value, but the signature does not say which one of `init`'s 3 lifetimes it is borrowed from
26 error[E0106]: missing lifetime specifiers
27 --> $DIR/missing-lifetime-specifier.rs:23:44
29 LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
30 | ^^^^ expected 2 lifetime parameters
32 | expected named lifetime parameter
34 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
35 help: consider using the `'static` lifetime
37 LL | static b: RefCell<HashMap<i32, Vec<Vec<&'static Bar<'static, 'static>>>>> = RefCell::new(HashMap::new());
38 | +++++++ ++++++++++++++++++
40 error[E0106]: missing lifetime specifiers
41 --> $DIR/missing-lifetime-specifier.rs:23:44
43 LL | / thread_local! {
44 LL | | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
45 | | ^^^^ expected 2 lifetime parameters
47 | | expected named lifetime parameter
53 = help: this function's return type contains a borrowed value, but the signature does not say which one of `init`'s 4 lifetimes it is borrowed from
55 error[E0106]: missing lifetime specifiers
56 --> $DIR/missing-lifetime-specifier.rs:28:47
58 LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new());
59 | ^ expected 2 lifetime parameters
61 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
62 help: consider using the `'static` lifetime
64 LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
67 error[E0106]: missing lifetime specifiers
68 --> $DIR/missing-lifetime-specifier.rs:28:47
70 LL | / thread_local! {
71 LL | | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new());
72 | | ^ expected 2 lifetime parameters
78 = help: this function's return type contains a borrowed value, but the signature does not say which one of `init`'s 3 lifetimes it is borrowed from
80 error[E0106]: missing lifetime specifiers
81 --> $DIR/missing-lifetime-specifier.rs:33:44
83 LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
84 | ^ ^ expected 2 lifetime parameters
86 | expected named lifetime parameter
88 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
89 help: consider using the `'static` lifetime
91 LL | static d: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
92 | +++++++ +++++++++++++++++
94 error[E0106]: missing lifetime specifiers
95 --> $DIR/missing-lifetime-specifier.rs:33:44
97 LL | / thread_local! {
98 LL | | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
99 | | ^ ^ expected 2 lifetime parameters
101 | | expected named lifetime parameter
107 = help: this function's return type contains a borrowed value, but the signature does not say which one of `init`'s 4 lifetimes it is borrowed from
109 error[E0106]: missing lifetime specifier
110 --> $DIR/missing-lifetime-specifier.rs:47:44
112 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
113 | ^ expected named lifetime parameter
115 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
116 help: consider using the `'static` lifetime
118 LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
121 error[E0106]: missing lifetime specifier
122 --> $DIR/missing-lifetime-specifier.rs:47:44
124 LL | / thread_local! {
125 LL | | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
126 | | ^ expected named lifetime parameter
134 = help: this function's return type contains a borrowed value, but the signature does not say which one of `init`'s 3 lifetimes it is borrowed from
136 error[E0107]: union takes 2 lifetime arguments but 1 lifetime argument was supplied
137 --> $DIR/missing-lifetime-specifier.rs:39:44
139 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
140 | ^^^ ------- supplied 1 lifetime argument
142 | expected 2 lifetime arguments
144 note: union defined here, with 2 lifetime parameters: `'t`, `'k`
145 --> $DIR/missing-lifetime-specifier.rs:11:11
147 LL | pub union Qux<'t, 'k, I> {
149 help: add missing lifetime argument
151 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
154 error[E0107]: union takes 2 lifetime arguments but 1 lifetime argument was supplied
155 --> $DIR/missing-lifetime-specifier.rs:39:44
157 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
158 | ^^^ ------- supplied 1 lifetime argument
160 | expected 2 lifetime arguments
162 note: union defined here, with 2 lifetime parameters: `'t`, `'k`
163 --> $DIR/missing-lifetime-specifier.rs:11:11
165 LL | pub union Qux<'t, 'k, I> {
167 = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
168 help: add missing lifetime argument
170 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
173 error[E0107]: union takes 2 lifetime arguments but 1 lifetime argument was supplied
174 --> $DIR/missing-lifetime-specifier.rs:39:44
176 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
177 | ^^^ ------- supplied 1 lifetime argument
179 | expected 2 lifetime arguments
181 note: union defined here, with 2 lifetime parameters: `'t`, `'k`
182 --> $DIR/missing-lifetime-specifier.rs:11:11
184 LL | pub union Qux<'t, 'k, I> {
186 = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
187 help: add missing lifetime argument
189 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
192 error[E0107]: union takes 2 lifetime arguments but 1 lifetime argument was supplied
193 --> $DIR/missing-lifetime-specifier.rs:39:44
195 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
196 | ^^^ ------- supplied 1 lifetime argument
198 | expected 2 lifetime arguments
200 note: union defined here, with 2 lifetime parameters: `'t`, `'k`
201 --> $DIR/missing-lifetime-specifier.rs:11:11
203 LL | pub union Qux<'t, 'k, I> {
205 = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
206 help: add missing lifetime argument
208 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
211 error[E0107]: union takes 2 lifetime arguments but 1 lifetime argument was supplied
212 --> $DIR/missing-lifetime-specifier.rs:39:44
214 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
215 | ^^^ ------- supplied 1 lifetime argument
217 | expected 2 lifetime arguments
219 note: union defined here, with 2 lifetime parameters: `'t`, `'k`
220 --> $DIR/missing-lifetime-specifier.rs:11:11
222 LL | pub union Qux<'t, 'k, I> {
224 = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
225 help: add missing lifetime argument
227 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
230 error[E0107]: trait takes 2 lifetime arguments but 1 lifetime argument was supplied
231 --> $DIR/missing-lifetime-specifier.rs:47:45
233 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
234 | ^^^ ------- supplied 1 lifetime argument
236 | expected 2 lifetime arguments
238 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
239 --> $DIR/missing-lifetime-specifier.rs:15:7
241 LL | trait Tar<'t, 'k, I> {}
243 help: add missing lifetime argument
245 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
248 error[E0107]: trait takes 2 lifetime arguments but 1 lifetime argument was supplied
249 --> $DIR/missing-lifetime-specifier.rs:47:45
251 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
252 | ^^^ ------- supplied 1 lifetime argument
254 | expected 2 lifetime arguments
256 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
257 --> $DIR/missing-lifetime-specifier.rs:15:7
259 LL | trait Tar<'t, 'k, I> {}
261 = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
262 help: add missing lifetime argument
264 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
267 error[E0107]: trait takes 2 lifetime arguments but 1 lifetime argument was supplied
268 --> $DIR/missing-lifetime-specifier.rs:47:45
270 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
271 | ^^^ ------- supplied 1 lifetime argument
273 | expected 2 lifetime arguments
275 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
276 --> $DIR/missing-lifetime-specifier.rs:15:7
278 LL | trait Tar<'t, 'k, I> {}
280 = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
281 help: add missing lifetime argument
283 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
286 error[E0107]: trait takes 2 lifetime arguments but 1 lifetime argument was supplied
287 --> $DIR/missing-lifetime-specifier.rs:47:45
289 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
290 | ^^^ ------- supplied 1 lifetime argument
292 | expected 2 lifetime arguments
294 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
295 --> $DIR/missing-lifetime-specifier.rs:15:7
297 LL | trait Tar<'t, 'k, I> {}
299 = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
300 help: add missing lifetime argument
302 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
305 error[E0107]: trait takes 2 lifetime arguments but 1 lifetime argument was supplied
306 --> $DIR/missing-lifetime-specifier.rs:47:45
308 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
309 | ^^^ ------- supplied 1 lifetime argument
311 | expected 2 lifetime arguments
313 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
314 --> $DIR/missing-lifetime-specifier.rs:15:7
316 LL | trait Tar<'t, 'k, I> {}
318 = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
319 help: add missing lifetime argument
321 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
324 error: aborting due to 20 previous errors
326 Some errors have detailed explanations: E0106, E0107.
327 For more information about an error, try `rustc --explain E0106`.