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]: this 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]: this 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 help: add missing lifetime argument
169 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
172 error[E0107]: this union takes 2 lifetime arguments but 1 lifetime argument was supplied
173 --> $DIR/missing-lifetime-specifier.rs:39:44
175 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
176 | ^^^ ------- supplied 1 lifetime argument
178 | expected 2 lifetime arguments
180 note: union defined here, with 2 lifetime parameters: `'t`, `'k`
181 --> $DIR/missing-lifetime-specifier.rs:11:11
183 LL | pub union Qux<'t, 'k, I> {
185 help: add missing lifetime argument
187 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
190 error[E0107]: this union takes 2 lifetime arguments but 1 lifetime argument was supplied
191 --> $DIR/missing-lifetime-specifier.rs:39:44
193 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
194 | ^^^ ------- supplied 1 lifetime argument
196 | expected 2 lifetime arguments
198 note: union defined here, with 2 lifetime parameters: `'t`, `'k`
199 --> $DIR/missing-lifetime-specifier.rs:11:11
201 LL | pub union Qux<'t, 'k, I> {
203 help: add missing lifetime argument
205 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
208 error[E0107]: this union takes 2 lifetime arguments but 1 lifetime argument was supplied
209 --> $DIR/missing-lifetime-specifier.rs:39:44
211 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
212 | ^^^ ------- supplied 1 lifetime argument
214 | expected 2 lifetime arguments
216 note: union defined here, with 2 lifetime parameters: `'t`, `'k`
217 --> $DIR/missing-lifetime-specifier.rs:11:11
219 LL | pub union Qux<'t, 'k, I> {
221 help: add missing lifetime argument
223 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
226 error[E0107]: this trait takes 2 lifetime arguments but 1 lifetime argument was supplied
227 --> $DIR/missing-lifetime-specifier.rs:47:45
229 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
230 | ^^^ ------- supplied 1 lifetime argument
232 | expected 2 lifetime arguments
234 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
235 --> $DIR/missing-lifetime-specifier.rs:15:7
237 LL | trait Tar<'t, 'k, I> {}
239 help: add missing lifetime argument
241 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
244 error[E0107]: this trait takes 2 lifetime arguments but 1 lifetime argument was supplied
245 --> $DIR/missing-lifetime-specifier.rs:47:45
247 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
248 | ^^^ ------- supplied 1 lifetime argument
250 | expected 2 lifetime arguments
252 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
253 --> $DIR/missing-lifetime-specifier.rs:15:7
255 LL | trait Tar<'t, 'k, I> {}
257 help: add missing lifetime argument
259 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
262 error[E0107]: this trait takes 2 lifetime arguments but 1 lifetime argument was supplied
263 --> $DIR/missing-lifetime-specifier.rs:47:45
265 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
266 | ^^^ ------- supplied 1 lifetime argument
268 | expected 2 lifetime arguments
270 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
271 --> $DIR/missing-lifetime-specifier.rs:15:7
273 LL | trait Tar<'t, 'k, I> {}
275 help: add missing lifetime argument
277 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
280 error[E0107]: this trait takes 2 lifetime arguments but 1 lifetime argument was supplied
281 --> $DIR/missing-lifetime-specifier.rs:47:45
283 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
284 | ^^^ ------- supplied 1 lifetime argument
286 | expected 2 lifetime arguments
288 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
289 --> $DIR/missing-lifetime-specifier.rs:15:7
291 LL | trait Tar<'t, 'k, I> {}
293 help: add missing lifetime argument
295 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
298 error[E0107]: this trait takes 2 lifetime arguments but 1 lifetime argument was supplied
299 --> $DIR/missing-lifetime-specifier.rs:47:45
301 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
302 | ^^^ ------- supplied 1 lifetime argument
304 | expected 2 lifetime arguments
306 note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
307 --> $DIR/missing-lifetime-specifier.rs:15:7
309 LL | trait Tar<'t, 'k, I> {}
311 help: add missing lifetime argument
313 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>> = RefCell::new(HashMap::new());
316 error: aborting due to 20 previous errors
318 Some errors have detailed explanations: E0106, E0107.
319 For more information about an error, try `rustc --explain E0106`.