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());
11 | ~~~~~~~~~~~~~~~~~~~~~
13 error[E0106]: missing lifetime specifiers
14 --> $DIR/missing-lifetime-specifier.rs:18:44
16 LL | static a: RefCell<HashMap<i32, Vec<Vec<Foo>>>> = RefCell::new(HashMap::new());
17 | ^^^ expected 2 lifetime parameters
19 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
20 help: consider using the `'static` lifetime
22 LL | static a: RefCell<HashMap<i32, Vec<Vec<Foo<'static, 'static>>>>> = RefCell::new(HashMap::new());
23 | ~~~~~~~~~~~~~~~~~~~~~
25 error[E0106]: missing lifetime specifier
26 --> $DIR/missing-lifetime-specifier.rs:23:44
28 LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
29 | ^ expected named lifetime parameter
31 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
32 help: consider using the `'static` lifetime
34 LL | static b: RefCell<HashMap<i32, Vec<Vec<&'static Bar>>>> = RefCell::new(HashMap::new());
37 error[E0106]: missing lifetime specifiers
38 --> $DIR/missing-lifetime-specifier.rs:23:45
40 LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
41 | ^^^ expected 2 lifetime parameters
43 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
44 help: consider using the `'static` lifetime
46 LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar<'static, 'static>>>>> = RefCell::new(HashMap::new());
47 | ~~~~~~~~~~~~~~~~~~~~~
49 error[E0106]: missing lifetime specifier
50 --> $DIR/missing-lifetime-specifier.rs:23:44
52 LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
53 | ^ expected named lifetime parameter
55 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
56 help: consider using the `'static` lifetime
58 LL | static b: RefCell<HashMap<i32, Vec<Vec<&'static Bar>>>> = RefCell::new(HashMap::new());
61 error[E0106]: missing lifetime specifiers
62 --> $DIR/missing-lifetime-specifier.rs:23:45
64 LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
65 | ^^^ expected 2 lifetime parameters
67 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
68 help: consider using the `'static` lifetime
70 LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar<'static, 'static>>>>> = RefCell::new(HashMap::new());
71 | ~~~~~~~~~~~~~~~~~~~~~
73 error[E0106]: missing lifetime specifiers
74 --> $DIR/missing-lifetime-specifier.rs:30:48
76 LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new());
77 | ^ expected 2 lifetime parameters
79 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
80 help: consider using the `'static` lifetime
82 LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
85 error[E0106]: missing lifetime specifiers
86 --> $DIR/missing-lifetime-specifier.rs:30:48
88 LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new());
89 | ^ expected 2 lifetime parameters
91 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
92 help: consider using the `'static` lifetime
94 LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
97 error[E0106]: missing lifetime specifier
98 --> $DIR/missing-lifetime-specifier.rs:35:44
100 LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
101 | ^ expected named lifetime parameter
103 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
104 help: consider using the `'static` lifetime
106 LL | static d: RefCell<HashMap<i32, Vec<Vec<&'static Tar<i32>>>>> = RefCell::new(HashMap::new());
109 error[E0106]: missing lifetime specifiers
110 --> $DIR/missing-lifetime-specifier.rs:35:49
112 LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
113 | ^ expected 2 lifetime parameters
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 d: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
121 error[E0106]: missing lifetime specifier
122 --> $DIR/missing-lifetime-specifier.rs:35:44
124 LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
125 | ^ expected named lifetime parameter
127 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
128 help: consider using the `'static` lifetime
130 LL | static d: RefCell<HashMap<i32, Vec<Vec<&'static Tar<i32>>>>> = RefCell::new(HashMap::new());
133 error[E0106]: missing lifetime specifiers
134 --> $DIR/missing-lifetime-specifier.rs:35:49
136 LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
137 | ^ expected 2 lifetime parameters
139 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
140 help: consider using the `'static` lifetime
142 LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
145 error[E0107]: this union takes 2 lifetime arguments but 1 lifetime argument was supplied
146 --> $DIR/missing-lifetime-specifier.rs:43:44
148 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
149 | ^^^ ------- supplied 1 lifetime argument
151 | expected 2 lifetime arguments
153 note: union defined here, with 2 lifetime parameters: `'t`, `'k`
154 --> $DIR/missing-lifetime-specifier.rs:11:11
156 LL | pub union Qux<'t, 'k, I> {
158 help: add missing lifetime argument
160 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, '_, i32>>>>> = RefCell::new(HashMap::new());
163 error[E0107]: this union takes 2 lifetime arguments but 1 lifetime argument was supplied
164 --> $DIR/missing-lifetime-specifier.rs:43:44
166 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
167 | ^^^ ------- supplied 1 lifetime argument
169 | expected 2 lifetime arguments
171 note: union defined here, with 2 lifetime parameters: `'t`, `'k`
172 --> $DIR/missing-lifetime-specifier.rs:11:11
174 LL | pub union Qux<'t, 'k, I> {
176 help: add missing lifetime argument
178 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'k, i32>>>>> = RefCell::new(HashMap::new());
181 error[E0107]: this union takes 2 lifetime arguments but 1 lifetime argument was supplied
182 --> $DIR/missing-lifetime-specifier.rs:43:44
184 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
185 | ^^^ ------- supplied 1 lifetime argument
187 | expected 2 lifetime arguments
189 note: union defined here, with 2 lifetime parameters: `'t`, `'k`
190 --> $DIR/missing-lifetime-specifier.rs:11:11
192 LL | pub union Qux<'t, 'k, I> {
194 help: add missing lifetime argument
196 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'k, i32>>>>> = RefCell::new(HashMap::new());
199 error[E0107]: this union takes 2 lifetime arguments but 1 lifetime argument was supplied
200 --> $DIR/missing-lifetime-specifier.rs:43:44
202 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
203 | ^^^ ------- supplied 1 lifetime argument
205 | expected 2 lifetime arguments
207 note: union defined here, with 2 lifetime parameters: `'t`, `'k`
208 --> $DIR/missing-lifetime-specifier.rs:11:11
210 LL | pub union Qux<'t, 'k, I> {
212 help: add missing lifetime argument
214 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, '_, i32>>>>> = RefCell::new(HashMap::new());
217 error[E0107]: this trait takes 2 lifetime arguments but 1 lifetime argument was supplied
218 --> $DIR/missing-lifetime-specifier.rs:50:45
220 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
221 | ^^^ ------- supplied 1 lifetime argument
223 | expected 2 lifetime arguments
225 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
226 --> $DIR/missing-lifetime-specifier.rs:15:7
228 LL | trait Tar<'t, 'k, I> {}
230 help: add missing lifetime argument
232 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, '_, i32>>>>> = RefCell::new(HashMap::new());
235 error[E0106]: missing lifetime specifier
236 --> $DIR/missing-lifetime-specifier.rs:50:44
238 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
239 | ^ expected named lifetime parameter
241 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
242 help: consider using the `'static` lifetime
244 LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
247 error[E0107]: this trait takes 2 lifetime arguments but 1 lifetime argument was supplied
248 --> $DIR/missing-lifetime-specifier.rs:50:45
250 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
251 | ^^^ ------- supplied 1 lifetime argument
253 | expected 2 lifetime arguments
255 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
256 --> $DIR/missing-lifetime-specifier.rs:15:7
258 LL | trait Tar<'t, 'k, I> {}
260 help: add missing lifetime argument
262 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'k, i32>>>>> = RefCell::new(HashMap::new());
265 error[E0106]: missing lifetime specifier
266 --> $DIR/missing-lifetime-specifier.rs:50:44
268 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
269 | ^ expected named lifetime parameter
271 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
272 help: consider using the `'static` lifetime
274 LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
277 error[E0107]: this trait takes 2 lifetime arguments but 1 lifetime argument was supplied
278 --> $DIR/missing-lifetime-specifier.rs:50:45
280 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
281 | ^^^ ------- supplied 1 lifetime argument
283 | expected 2 lifetime arguments
285 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
286 --> $DIR/missing-lifetime-specifier.rs:15:7
288 LL | trait Tar<'t, 'k, I> {}
290 help: add missing lifetime argument
292 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'k, i32>>>>> = RefCell::new(HashMap::new());
295 error[E0107]: this trait takes 2 lifetime arguments but 1 lifetime argument was supplied
296 --> $DIR/missing-lifetime-specifier.rs:50:45
298 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
299 | ^^^ ------- supplied 1 lifetime argument
301 | expected 2 lifetime arguments
303 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
304 --> $DIR/missing-lifetime-specifier.rs:15:7
306 LL | trait Tar<'t, 'k, I> {}
308 help: add missing lifetime argument
310 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, '_, i32>>>>> = RefCell::new(HashMap::new());
313 error: aborting due to 22 previous errors
315 Some errors have detailed explanations: E0106, E0107.
316 For more information about an error, try `rustc --explain E0106`.