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:32: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:32: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:37: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:37: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:37: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:37: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[E0106]: missing lifetime specifier
146 --> $DIR/missing-lifetime-specifier.rs:54:44
148 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
149 | ^ expected named lifetime parameter
151 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
152 help: consider using the `'static` lifetime
154 LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
157 error[E0106]: missing lifetime specifier
158 --> $DIR/missing-lifetime-specifier.rs:54:44
160 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
161 | ^ expected named lifetime parameter
163 = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
164 help: consider using the `'static` lifetime
166 LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
169 error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
170 --> $DIR/missing-lifetime-specifier.rs:23:45
172 LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
175 error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
176 --> $DIR/missing-lifetime-specifier.rs:23:45
178 LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
181 error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
182 --> $DIR/missing-lifetime-specifier.rs:37:45
184 LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
187 error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
188 --> $DIR/missing-lifetime-specifier.rs:37:45
190 LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
193 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
194 --> $DIR/missing-lifetime-specifier.rs:47:44
196 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
197 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
199 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
200 --> $DIR/missing-lifetime-specifier.rs:47:44
202 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
203 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
205 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
206 --> $DIR/missing-lifetime-specifier.rs:47:44
208 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
209 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
211 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
212 --> $DIR/missing-lifetime-specifier.rs:47:44
214 LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
215 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
217 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
218 --> $DIR/missing-lifetime-specifier.rs:54:45
220 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
221 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
223 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
224 --> $DIR/missing-lifetime-specifier.rs:54:45
226 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
227 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
229 error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
230 --> $DIR/missing-lifetime-specifier.rs:54:45
232 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
235 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
236 --> $DIR/missing-lifetime-specifier.rs:54:45
238 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
239 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
241 error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
242 --> $DIR/missing-lifetime-specifier.rs:54:45
244 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
247 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
248 --> $DIR/missing-lifetime-specifier.rs:54:45
250 LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
251 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
253 error: aborting due to 28 previous errors
255 Some errors have detailed explanations: E0106, E0107, E0228.
256 For more information about an error, try `rustc --explain E0106`.