@@ -71,7 +71,7 @@ LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar<'static, 'static>>>>> = Ref
71
71
| ^^^^^^^^^^^^^^^^^^^^^
72
72
73
73
error[E0106]: missing lifetime specifiers
74
- --> $DIR/missing-lifetime-specifier.rs:32 :48
74
+ --> $DIR/missing-lifetime-specifier.rs:30 :48
75
75
|
76
76
LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new());
77
77
| ^ expected 2 lifetime parameters
@@ -83,7 +83,7 @@ LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> =
83
83
| ^^^^^^^^^^^^^^^^^
84
84
85
85
error[E0106]: missing lifetime specifiers
86
- --> $DIR/missing-lifetime-specifier.rs:32 :48
86
+ --> $DIR/missing-lifetime-specifier.rs:30 :48
87
87
|
88
88
LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new());
89
89
| ^ expected 2 lifetime parameters
@@ -95,7 +95,7 @@ LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> =
95
95
| ^^^^^^^^^^^^^^^^^
96
96
97
97
error[E0106]: missing lifetime specifier
98
- --> $DIR/missing-lifetime-specifier.rs:37 :44
98
+ --> $DIR/missing-lifetime-specifier.rs:35 :44
99
99
|
100
100
LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
101
101
| ^ expected named lifetime parameter
@@ -107,7 +107,7 @@ LL | static d: RefCell<HashMap<i32, Vec<Vec<&'static Tar<i32>>>>> = RefCell:
107
107
| ^^^^^^^^
108
108
109
109
error[E0106]: missing lifetime specifiers
110
- --> $DIR/missing-lifetime-specifier.rs:37 :49
110
+ --> $DIR/missing-lifetime-specifier.rs:35 :49
111
111
|
112
112
LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
113
113
| ^ expected 2 lifetime parameters
@@ -119,7 +119,7 @@ LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>>
119
119
| ^^^^^^^^^^^^^^^^^
120
120
121
121
error[E0106]: missing lifetime specifier
122
- --> $DIR/missing-lifetime-specifier.rs:37 :44
122
+ --> $DIR/missing-lifetime-specifier.rs:35 :44
123
123
|
124
124
LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
125
125
| ^ expected named lifetime parameter
@@ -131,7 +131,7 @@ LL | static d: RefCell<HashMap<i32, Vec<Vec<&'static Tar<i32>>>>> = RefCell:
131
131
| ^^^^^^^^
132
132
133
133
error[E0106]: missing lifetime specifiers
134
- --> $DIR/missing-lifetime-specifier.rs:37 :49
134
+ --> $DIR/missing-lifetime-specifier.rs:35 :49
135
135
|
136
136
LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
137
137
| ^ expected 2 lifetime parameters
@@ -143,7 +143,7 @@ LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>>
143
143
| ^^^^^^^^^^^^^^^^^
144
144
145
145
error[E0106]: missing lifetime specifier
146
- --> $DIR/missing-lifetime-specifier.rs:54 :44
146
+ --> $DIR/missing-lifetime-specifier.rs:50 :44
147
147
|
148
148
LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
149
149
| ^ expected named lifetime parameter
@@ -155,7 +155,7 @@ LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> =
155
155
| ^^^^^^^^
156
156
157
157
error[E0106]: missing lifetime specifier
158
- --> $DIR/missing-lifetime-specifier.rs:54 :44
158
+ --> $DIR/missing-lifetime-specifier.rs:50 :44
159
159
|
160
160
LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
161
161
| ^ expected named lifetime parameter
@@ -166,91 +166,55 @@ help: consider using the `'static` lifetime
166
166
LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
167
167
| ^^^^^^^^
168
168
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
171
- |
172
- LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
173
- | ^^^
174
-
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
177
- |
178
- LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
179
- | ^^^
180
-
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
183
- |
184
- LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
185
- | ^^^^^^^^
186
-
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
189
- |
190
- LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
191
- | ^^^^^^^^
192
-
193
169
error[E0107]: wrong number of lifetime arguments: expected 2, found 1
194
- --> $DIR/missing-lifetime-specifier.rs:47 :44
170
+ --> $DIR/missing-lifetime-specifier.rs:43 :44
195
171
|
196
172
LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
197
173
| ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
198
174
199
175
error[E0107]: wrong number of lifetime arguments: expected 2, found 1
200
- --> $DIR/missing-lifetime-specifier.rs:47 :44
176
+ --> $DIR/missing-lifetime-specifier.rs:43 :44
201
177
|
202
178
LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
203
179
| ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
204
180
205
181
error[E0107]: wrong number of lifetime arguments: expected 2, found 1
206
- --> $DIR/missing-lifetime-specifier.rs:47 :44
182
+ --> $DIR/missing-lifetime-specifier.rs:43 :44
207
183
|
208
184
LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
209
185
| ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
210
186
211
187
error[E0107]: wrong number of lifetime arguments: expected 2, found 1
212
- --> $DIR/missing-lifetime-specifier.rs:47 :44
188
+ --> $DIR/missing-lifetime-specifier.rs:43 :44
213
189
|
214
190
LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
215
191
| ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
216
192
217
193
error[E0107]: wrong number of lifetime arguments: expected 2, found 1
218
- --> $DIR/missing-lifetime-specifier.rs:54 :45
194
+ --> $DIR/missing-lifetime-specifier.rs:50 :45
219
195
|
220
196
LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
221
197
| ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
222
198
223
199
error[E0107]: wrong number of lifetime arguments: expected 2, found 1
224
- --> $DIR/missing-lifetime-specifier.rs:54 :45
200
+ --> $DIR/missing-lifetime-specifier.rs:50 :45
225
201
|
226
202
LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
227
203
| ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
228
204
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
231
- |
232
- LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
233
- | ^^^^^^^^^^^^^^^^^
234
-
235
205
error[E0107]: wrong number of lifetime arguments: expected 2, found 1
236
- --> $DIR/missing-lifetime-specifier.rs:54 :45
206
+ --> $DIR/missing-lifetime-specifier.rs:50 :45
237
207
|
238
208
LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
239
209
| ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
240
210
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
243
- |
244
- LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
245
- | ^^^^^^^^^^^^^^^^^
246
-
247
211
error[E0107]: wrong number of lifetime arguments: expected 2, found 1
248
- --> $DIR/missing-lifetime-specifier.rs:54 :45
212
+ --> $DIR/missing-lifetime-specifier.rs:50 :45
249
213
|
250
214
LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
251
215
| ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
252
216
253
- error: aborting due to 28 previous errors
217
+ error: aborting due to 22 previous errors
254
218
255
- Some errors have detailed explanations: E0106, E0107, E0228 .
219
+ Some errors have detailed explanations: E0106, E0107.
256
220
For more information about an error, try `rustc --explain E0106`.
0 commit comments